2021-05-04 20:20:01 -04:00
|
|
|
# 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:
|
|
|
|
|
2023-03-21 07:07:39 -04:00
|
|
|
./gradlew wrapper --gradle-version 8.0.2 \
|
2021-05-04 20:20:01 -04:00
|
|
|
--distribution-type all \
|
2023-03-21 07:07:39 -04:00
|
|
|
--gradle-distribution-sha256-sum 47a5bfed9ef814f90f8debcbbb315e8e7c654109acd224595ea39fca95c5d4da
|
2021-05-04 20:20:01 -04:00
|
|
|
|
|
|
|
The first execution should automatically update:
|
|
|
|
|
2022-09-19 08:59:57 -04:00
|
|
|
- `haveno/gradle/wrapper/gradle-wrapper.properties`
|
2021-05-04 20:20:01 -04:00
|
|
|
|
|
|
|
The second execution should then update:
|
|
|
|
|
2022-09-19 08:59:57 -04:00
|
|
|
- `haveno/gradle/wrapper/gradle-wrapper.jar`
|
|
|
|
- `haveno/gradlew`
|
|
|
|
- `haveno/gradlew.bat`
|
2021-05-04 20:20:01 -04:00
|
|
|
|
|
|
|
The four updated files are ready to be committed.
|