updated build gradles to be compatible with Android Studio Beta