-
Notifications
You must be signed in to change notification settings - Fork 6
Upgrade Gradle Wrapper
Axieum edited this page Jul 10, 2021
·
1 revision
To keep your Gradle Wrapper up-to-date, run the following command:
./gradlew wrapper --gradle-version [insert version here]
Note that running the wrapper task once will update
gradle-wrapper.properties
only, but leave the wrapper itself ingradle-wrapper.jar
untouched. This is usually fine as new versions of Gradle can be run even with ancient wrapper files. If you nevertheless want all the wrapper files to be completely up-to-date, you’ll need to run thewrapper
task a second time.
For more information, please refer to Upgrading the Gradle Wrapper.