Increment Android version code and log config

This commit is contained in:
Butterscotch!
2025-12-10 07:14:54 -05:00
parent fe58968718
commit b3b7730b2c

View File

@@ -133,13 +133,15 @@ android {
// adds an offset of the version code as we might do apk releases in the middle of actual
// releases if we failed on bundling or stuff
val versionCodeOffset = 2
val versionCodeOffset = 4
// Defines the version number of your app.
versionCode = (extra["gitVersionCode"] as? Int)?.plus(versionCodeOffset) ?: 0
// Defines a user-friendly version name for your app.
versionName = extra["gitVersionName"] as? String ?: "v0.0.0"
logger.lifecycle("Configured for SlimeVR Android version $versionName ($versionCode)")
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}