mirror of
https://github.com/bisq-network/bisq-api-reference.git
synced 2026-01-26 17:33:33 +00:00
28 lines
799 B
Markdown
28 lines
799 B
Markdown
# How to upgrade the Gradle version
|
|
|
|
Visit the [Gradle website](https://gradle.org/releases) and decide the:
|
|
|
|
- desired version
|
|
- desired distribution type
|
|
- what is the sha256 for the version and type chosen above
|
|
|
|
Adjust the following command with tha arguments above and execute it twice:
|
|
|
|
```asciidoc
|
|
$ ./gradlew wrapper --gradle-version 7.5 \
|
|
--distribution-type bin \
|
|
--gradle-distribution-sha256-sum cb87f222c5585bd46838ad4db78463a5c5f3d336e5e2b98dc7c0c586527351c2
|
|
```
|
|
|
|
The first execution should automatically update:
|
|
|
|
- `java-examples/gradle/wrapper/gradle-wrapper.properties`
|
|
|
|
The second execution should then update:
|
|
|
|
- `java-examples/gradle/wrapper/gradle-wrapper.jar`
|
|
- `java-examples/gradlew`
|
|
- `java-examples/gradlew.bat`
|
|
|
|
The four updated files are ready to be committed.
|