Skip to content

Commit

Permalink
refactor: change to static version codes for F-Droid auto-update
Browse files Browse the repository at this point in the history
  • Loading branch information
zaneschepke committed Sep 16, 2023
1 parent f8bc264 commit 7cb798a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7cb798a

Please sign in to comment.