Adjust versioning for GPlay wear os bundle upload

This commit is contained in:
darken
2022-09-14 19:39:30 +02:00
parent a53baec9dc
commit 84b7509f33
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ android {
minSdk = ProjectConfig.minSdk
targetSdk = ProjectConfig.targetSdk
versionCode = ProjectConfig.Version.code
versionCode = ProjectConfig.Version.code + 1 // Wear app
versionName = ProjectConfig.Version.name
testInstrumentationRunner = "eu.darken.capod.HiltTestRunner"
+1 -1
View File
@@ -18,7 +18,7 @@ android {
minSdk = ProjectConfig.minSdk
targetSdk = ProjectConfig.targetSdk
versionCode = ProjectConfig.Version.code
versionCode = ProjectConfig.Version.code + 0 // Base app
versionName = ProjectConfig.Version.name
testInstrumentationRunner = "eu.darken.capod.HiltTestRunner"
+1 -1
View File
@@ -20,7 +20,7 @@ object ProjectConfig {
const val build = 2
const val name = "${major}.${minor}.${patch}-rc${build}"
const val code = major * 1000000 + minor * 10000 + patch * 100 + build
const val code = major * 10000000 + minor * 100000 + patch * 1000 + build * 10
}
}