Skip to content

Commit 84a68ea

Browse files
committed
🐛 fix(build): exclude AboutLibraries 'generated' timestamp for reproducibility
AboutLibraries 11.x writes a 'generated' timestamp into the embedded license JSON. F-Droid maintainer flagged it as the only remaining diff between our signed APK and their rebuild. The plugin defaults this off in 14.x; we set it explicitly here to avoid a major-version bump.
1 parent 9266ac8 commit 84a68ea

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

app/build.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ val versionInfo = Version.fromGitDescribe(
2525
fallback = System.getenv("QUIRE_VERSION_FALLBACK")
2626
)
2727

28+
// Drop the build timestamp from the AboutLibraries-generated license JSON
29+
// so the resource is byte-identical across rebuilds (matters for F-Droid's
30+
// reproducible-build verification). Disabled by default in AboutLibraries
31+
// 14+; explicit on 11.x.
32+
aboutLibraries {
33+
excludeFields = arrayOf("generated")
34+
}
35+
2836
android {
2937
namespace = "io.theficos.quire"
3038
compileSdk = 34

0 commit comments

Comments
 (0)