

It takes more time to download the sources & docs, and also use more disk storage. You don’t need the complete Gradle distribution on your CI environment. Switch to Gradle Binary Distribution on your CI environment You can read this article to see how you can automate Gradle (and also other dependencies) upgrades:Ģ.

gradlew wrapper -gradle-version X.Y.Z is enough to produce a distributionUrl value in the Wrapper properties file that will request the -all distribution. You can also add this config to your root adle file: wrapper

So, your gradle/wrapper/gradle-wrapper.properties file should look like this: distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\:///distributions/gradle-7.0- all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists 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.
