From 76a72624a6164b5a66eed429b0f2ac43fd009a4d Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Tue, 28 Jan 2025 16:56:59 -0500 Subject: [PATCH] Tap the breaks merge always means too many commits to do auto --- build.gradle | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/build.gradle b/build.gradle index 33ca8aa62621cac1797223e9105e1eb71d6cf812..db836d8ef19acde52733409b7b58f6c73136cc7b 100644 --- a/build.gradle +++ b/build.gradle @@ -150,7 +150,7 @@ android { defaultConfig { minSdkVersion 23 targetSdkVersion 34 - versionCode 42025 + tags.size() + versionCode 4205701 versionName grgit.describe(always: true) applicationId "eu.siacs.conversations" def appName = "Conversations" @@ -318,16 +318,4 @@ android { buildFeatures { buildConfig true } - - android.applicationVariants.configureEach { variant -> - variant.outputs.each { output -> - def baseAbiVersionCode = project.ext.abiCodes.get(output.getFilter(com.android.build.OutputFile.ABI)) - if (baseAbiVersionCode != null) { - output.versionCodeOverride = (100 * project.android.defaultConfig.versionCode) + baseAbiVersionCode - } else { - output.versionCodeOverride = (100 * project.android.defaultConfig.versionCode) + grgit.log(includes: ["HEAD"], excludes: [tags.last()]).size() - } - } - - } }