Upgrade Gradle build script