Updated Gradle build script to support new Android Studio version 0.2