refactor: change to static version codes for F-Droid auto-update
This commit is contained in:
parent
f8bc264f30
commit
7cb798a111
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue