Use gradle plugin 0.12.+ (for Android Studio Beta).