Update Gradle build

Updates Gradle wrapper and the Android Gradle plug-in to the latest versions.