From 7cb798a111a916b1b66e67ab64e3f32773eebc6e Mon Sep 17 00:00:00 2001 From: Zane Schepke Date: Sat, 16 Sep 2023 02:06:55 -0400 Subject: [PATCH] refactor: change to static version codes for F-Droid auto-update --- app/build.gradle.kts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 3ee1c8e..7bbc2ab 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -10,17 +10,12 @@ android { namespace = "com.zaneschepke.wireguardautotunnel" compileSdk = 34 - val versionMajor = 2 - val versionMinor = 5 - val versionPatch = 0 - val versionBuild = 0 - defaultConfig { applicationId = "com.zaneschepke.wireguardautotunnel" minSdk = 26 targetSdk = 34 - versionCode = versionMajor * 10000 + versionMinor * 1000 + versionPatch * 100 + versionBuild - versionName = "${versionMajor}.${versionMinor}.${versionPatch}" + versionCode = 25000 + versionName = "2.5.0" multiDexEnabled = true