summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Göransson <david.goransson@mullvad.net>2025-02-27 09:00:36 +0100
committerDavid Göransson <david.goransson@mullvad.net>2025-02-27 12:37:21 +0100
commitc931d22a53e21b1f633001329d6d030484e1d44c (patch)
tree916ca6f827ac5ecf02141f1ffebbf33ca46db3b4
parent74a256669a85177d764c4ac799296f72d40cd3c2 (diff)
downloadmullvadvpn-c931d22a53e21b1f633001329d6d030484e1d44c.tar.xz
mullvadvpn-c931d22a53e21b1f633001329d6d030484e1d44c.zip
Add instructions on how to update gradlew
Previously the instructions where added inside the gradle-wrapper.properties files, however this means as you update it all the instructions gets removed and you have to manually add them again. I've now clarified the instructions and put them in a place where they won't get cleared out when updating.
-rw-r--r--android/gradle/wrapper/UpdateInstructions.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/android/gradle/wrapper/UpdateInstructions.md b/android/gradle/wrapper/UpdateInstructions.md
new file mode 100644
index 0000000000..bafbd49f86
--- /dev/null
+++ b/android/gradle/wrapper/UpdateInstructions.md
@@ -0,0 +1,11 @@
+# Update Gradle Wrapper
+
+1. Go to the [releases page](https://gradle.org/releases/) and read up on the release notes that you want to update to.
+
+2. Go to the [release checksums page](https://gradle.org/release-checksums/) and copy the `Binary-only (-bin) ZIP Checksum` for the version you want to update to.
+
+3. Run the following command and replace the VERSION & SHA256 with the correct version and sha256 that you've retrieved from step 1.
+
+```
+./gradlew wrapper --gradle-version=VERSION --gradle-distribution-sha256-sum SHA256 && ./gradlew wrapper
+```