

In your development environment, is a good idea to download the complete distribution, so you can see the sources while developing and debugging your Gradle scripts. Complete, with docs and sources ( -all.zip).


The Gradle distribution zip file comes in two flavors: If you nevertheless want all the wrapper files to be completely up-to-date, you’ll need to run the wrapper task a second time. This is usually fine as new versions of Gradle can be run even with ancient wrapper files. Note that running the wrapper task once will update gradle-wrapper.properties only, but leave the wrapper itself in gradle-wrapper.jar untouched. Using the wrapper task ensures that any optimizations made to the Wrapper shell script or batch file with that specific Gradle version are applied to the project. One way to upgrade the Gradle version is manually change the distributionUrl property in the Wrapper’s gradle-wrapper.properties file.īut, the better and recommended option is to run the following command.
