summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorTom Cooks <tommasogagliardi+github@gmail.com>2026-10-11 05:12:35 -0400
committerTom Cooks <tommasogagliardi+github@gmail.com>2026-10-11 05:12:35 -0400
commit79c322a7e8332b8d1b86d565db8118ab66fe021e (patch)
treeebd111e5ae883376d2f8ce212c12dba0c1040382 /app
parent0f40d5bf946e748452cddf1bd50ffb36b0e33f5f (diff)
downloadreccoon-79c322a7e8332b8d1b86d565db8118ab66fe021e.tar.gz
Disable embedded VCS info so the build is reproducible vs F-Droid
Diffstat (limited to 'app')
-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.