From e8d7b98698d1ee791899ba2e71d9c409b31771a6 Mon Sep 17 00:00:00 2001 From: Licaon_Kter Date: Tue, 27 May 2025 16:04:15 +0000 Subject: [PATCH] Remove some non-determinism Your app is not built reproducible in F-Droid, but we continuously test older versions on https://verification.f-droid.org/ and would like more and more apps to become repro Looking at the latest app report: https://verification.f-droid.org/packages/app.intra/ We can fix the GO BUILDID and the different /tmp paths. --- Android/app/build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Android/app/build.gradle b/Android/app/build.gradle index a1590b07..25915042 100644 --- a/Android/app/build.gradle +++ b/Android/app/build.gradle @@ -157,8 +157,9 @@ tasks.register('compileGoBackend', Exec) { System.getenv('PATH') commandLine("${goBuildDir}/gomobile", 'bind', - '-ldflags=-s -w', + '-ldflags=-s -w -buildid=', '-target=android', + '-trimpath', "-androidapi=${android.defaultConfig.minSdk}", '-o', goBackendAAR, *goSourcePackages)