refactor: change to static version codes for F-Droid auto-update

This commit is contained in:
Zane Schepke 2023-09-16 02:06:55 -04:00
parent f8bc264f30
commit 7cb798a111
1 changed files with 2 additions and 7 deletions

View File

@ -10,17 +10,12 @@ android {
namespace = "com.zaneschepke.wireguardautotunnel" namespace = "com.zaneschepke.wireguardautotunnel"
compileSdk = 34 compileSdk = 34
val versionMajor = 2
val versionMinor = 5
val versionPatch = 0
val versionBuild = 0
defaultConfig { defaultConfig {
applicationId = "com.zaneschepke.wireguardautotunnel" applicationId = "com.zaneschepke.wireguardautotunnel"
minSdk = 26 minSdk = 26
targetSdk = 34 targetSdk = 34
versionCode = versionMajor * 10000 + versionMinor * 1000 + versionPatch * 100 + versionBuild versionCode = 25000
versionName = "${versionMajor}.${versionMinor}.${versionPatch}" versionName = "2.5.0"
multiDexEnabled = true multiDexEnabled = true