Updated Gradle build files to work with Android Studio 1.0.x.