2020-09-17 01:59:51 +02:00
|
|
|
# How to upgrade the Gradle version
|
|
|
|
|
|
|
|
Visit the [Gradle website](https://gradle.org/releases/) and decide the:
|
2020-09-18 06:43:12 +02:00
|
|
|
|
2020-09-17 10:39:56 +02:00
|
|
|
- desired version
|
|
|
|
- desired distribution type
|
2020-09-19 07:50:50 +02:00
|
|
|
- what is the sha256 for the version and type chosen above
|
2020-09-17 01:59:51 +02:00
|
|
|
|
|
|
|
Adjust the following command with tha arguments above and execute it twice:
|
|
|
|
|
|
|
|
./gradlew wrapper --gradle-version 6.6.1 \
|
|
|
|
--distribution-type all \
|
|
|
|
--gradle-distribution-sha256-sum 11657af6356b7587bfb37287b5992e94a9686d5c8a0a1b60b87b9928a2decde5
|
|
|
|
|
2020-09-17 08:16:22 +02:00
|
|
|
The first execution should automatically update:
|
2020-09-18 06:43:12 +02:00
|
|
|
|
2022-06-09 15:03:14 +02:00
|
|
|
- `bisq/gradle/wrapper/gradle-wrapper.properties`
|
2020-09-17 01:59:51 +02:00
|
|
|
|
2020-09-17 08:16:22 +02:00
|
|
|
The second execution should then update:
|
2020-09-18 06:43:12 +02:00
|
|
|
|
2022-06-09 15:03:14 +02:00
|
|
|
- `bisq/gradle/wrapper/gradle-wrapper.jar`
|
|
|
|
- `bisq/gradlew`
|
|
|
|
- `bisq/gradlew.bat`
|
2020-09-17 01:59:51 +02:00
|
|
|
|
|
|
|
The four updated files are ready to be committed.
|
2022-06-09 15:03:14 +02:00
|
|
|
|
|
|
|
To update the verification-metadata file run:
|
|
|
|
|
|
|
|
- `./gradlew --write-verification-metadata sha256`
|