Updated Android build script configuration for new Gradle version.