From 708a6d8dbdb55a55c7864981c4e10587bec36c37 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 4 Aug 2020 09:46:43 +0200 Subject: [PATCH] allow differing sha256 values in Google Maven vs Android Offline It turns out that some of the dependencies in the Google Offline Components downloadable maven repository have difference to the ones Google publishes to maven.google.com. WTF. In any case, the new Gradle Dependency Verification feature handles this gracefully. I manually verified the diffs between the two using diffoscope. One just differed by timestamps in the ZIP header, and the other just differed by linefeeds at the end of the file. Then I generated this metadata update using: `./gradlew --write-verification-metadata pgp,sha256` * https://developer.android.com/studio#offline --- gradle/verification-metadata.xml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/gradle/verification-metadata.xml b/gradle/verification-metadata.xml index 233867aa8..0c6f752b7 100644 --- a/gradle/verification-metadata.xml +++ b/gradle/verification-metadata.xml @@ -13,6 +13,7 @@ + @@ -42,7 +43,10 @@ - + + + + @@ -55,7 +59,10 @@ - + + + + @@ -1391,6 +1398,7 @@ + @@ -1865,6 +1873,7 @@ + @@ -1882,6 +1891,7 @@ + @@ -2140,7 +2150,9 @@ - + + + @@ -2340,7 +2352,9 @@ - + + +