summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/build.gradle.kts6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index 473dd7f..eb0bacd 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -31,6 +31,12 @@ android {
}
release {
isMinifyEnabled = false
+ // Do not embed META-INF/version-control-info (the git revision): it is
+ // the only difference between our build and F-Droid's reproducible
+ // rebuild, which otherwise fail to match.
+ vcsInfo {
+ include = false
+ }
// Built unsigned on purpose. Sign with tools/build-release.sh, which
// uses the SDK apksigner instead of AGP: AGP adds a "Dependency
// metadata" (PKDS) signing block that F-Droid's scanner rejects.