gradle Gradle Performance Use latest Gradle version


Example

The Gradle team works regularly on improving the performance of different aspects of Gradle builds. If you’re using an old version of Gradle, you’re missing out on the benefits of that work. Try upgrading to the latest version of Gradle to see what kind of impact it has. Doing so is low risk because very few things break between minor versions of Gradle.

The properties file for the Gradle wrapper can be found in your project folder under gradle/wrapper/ and is called gradle-wrapper.properties. The content of that file might look like this:

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-X.X.X.zip

You can manually change the version number X.X.X(current version) to Y.Y.Y(newer version) and the next time you run the wrapper, the new version is downloaded automatically.