Updates the gradle build file to the latest needed for Android Studio.

This may require the buildbot to be updated.