summaryrefslogtreecommitdiffhomepage
path: root/android
diff options
context:
space:
mode:
authorAlbin <albin@mullvad.net>2023-01-18 18:42:10 +0100
committerAlbin <albin@mullvad.net>2023-01-18 18:42:10 +0100
commit596ce5a9fa340db759365cf12131d438018d332f (patch)
treec24f4059f23d82091375f259387d18bafa204f28 /android
parent20d46f80ce7d47a3f3e93ae3783014da68652c7e (diff)
parentd7c1064315b9128b947e6e025f3760b363f03a64 (diff)
downloadmullvadvpn-596ce5a9fa340db759365cf12131d438018d332f.tar.xz
mullvadvpn-596ce5a9fa340db759365cf12131d438018d332f.zip
Merge branch 'document-gradle-lockfile'
Diffstat (limited to 'android')
-rw-r--r--android/BuildInstructions.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/android/BuildInstructions.md b/android/BuildInstructions.md
index 7bc458614b..fb67322f4d 100644
--- a/android/BuildInstructions.md
+++ b/android/BuildInstructions.md
@@ -168,3 +168,22 @@ replace `key-password` and `keystore-password` with the values from step 2:
keyPassword = key-password
storePassword = keystore-password
```
+
+## Gradle dependency metadata verification lockfile
+This lockfile helps ensuring the integrity of the gradle dependencies in the project.
+
+### Update lockfile
+When adding or updating dependencies, it's necessary to also update the lockfile. This can be done
+in the following way:
+
+1. Run update script (requires `podman`):
+ ```bash
+ ./scripts/update-lockfile.sh
+ ```
+2. Check diff before committing.
+
+### Disable during development
+This is easiest done by temporarily removing the lockfile:
+```bash
+rm ./gradle/verification-metadata.xml
+```