From 3e0d970c971a30ff950ea0451df50e9ddea0139f Mon Sep 17 00:00:00 2001 From: Dennis Guse Date: Sun, 1 Dec 2024 22:08:47 +0100 Subject: [PATCH] Reproducible builds: exclude dependenciesInfo. Part of #418. --- build.gradle | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index e8f1e98ba..8f0da7a69 100644 --- a/build.gradle +++ b/build.gradle @@ -95,8 +95,8 @@ android { } nightly { - signingConfig signingConfigs.nightly applicationIdSuffix ".nightly" + signingConfig signingConfigs.nightly } release { @@ -114,14 +114,20 @@ android { applicationVariants.configureEach { variant -> variant.resValue "string", "applicationId", variant.applicationId - if (variant.buildType.name == 'nightly') { - variant.outputs.configureEach { + variant.outputs.configureEach { + if (variant.buildType.name == 'nightly') { setVersionCodeOverride(getVersionCode()) setVersionNameOverride(getVersionName()) outputFileName = "${applicationId}_${variant.versionCode}.apk" } } } + + dependenciesInfo { + //Disabled for reproducible builds + includeInApk = false + includeInBundle = false + } } dependencies {