From 26478748032310177641d50b90163e270ce1492f Mon Sep 17 00:00:00 2001 From: Pierre-Yves Nicolas <6371790+pynicolas@users.noreply.github.com> Date: Tue, 16 Sep 2025 14:01:16 +0200 Subject: [PATCH] Adjust versionCode strategy for F-droid --- app/build.gradle.kts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 541a0db..2ffd905 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -7,8 +7,8 @@ plugins { } val abiCodes = mapOf( - "armeabi-v7a" to 1, - "arm64-v8a" to 2 + "arm64-v8a" to 0, + "armeabi-v7a" to -1, ) android { @@ -24,7 +24,7 @@ android { // https://ai.google.dev/edge/litert/android/index minSdk = 26 targetSdk = 35 - versionCode = 20 // increment by 10 so that ABI-specific APKs can use versionCode +1 and +2 + versionCode = 22 // increment by 2 because of ABI-specific APKs versionName = "1.1.0" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"