summaryrefslogtreecommitdiffhomepage
path: root/android
diff options
context:
space:
mode:
authorAlbin <albin@mullvad.net>2022-09-02 15:52:35 +0200
committerAlbin <albin@mullvad.net>2022-09-03 13:49:16 +0200
commitb7ed0edc0ee5ca88812cff47046b88bf73ade4f0 (patch)
treebb45b3164ea078f9a86b06a6ab64f135e6dac94e /android
parenta139acd570c3e07aa93dd749e9a9b18b50aefcea (diff)
downloadmullvadvpn-b7ed0edc0ee5ca88812cff47046b88bf73ade4f0.tar.xz
mullvadvpn-b7ed0edc0ee5ca88812cff47046b88bf73ade4f0.zip
Add gradle wrapper checksum
This is not fully supported by Android Studio due to a bug in Gradle, however as this is an important security mechanism it should be set. Upcoming versions of Android Studio seem to properly support the checksum mechanism, as seen here: https://developer.android.com/studio/releases/fixed-bugs/studio/2022.1.1#android-studio-electric-eel-canary-3-2022.1.1.3 If Android Studio complains when syncing, click the text saying: 'Use "<checksum>" as checksum for <url> and sync project' See more: https://github.com/gradle/gradle/issues/9361 https://issuetracker.google.com/issues/232933744
Diffstat (limited to 'android')
-rw-r--r--android/gradle/wrapper/gradle-wrapper.properties2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties
index 9fccb7a76d..7484b99c79 100644
--- a/android/gradle/wrapper/gradle-wrapper.properties
+++ b/android/gradle/wrapper/gradle-wrapper.properties
@@ -3,3 +3,5 @@ distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.2-bin.zip
+# Retrieved from: https://gradle.org/release-checksums/
+distributionSha256Sum=8de6efc274ab52332a9c820366dd5cf5fc9d35ec7078fd70c8ec6913431ee610