add package build types

This commit is contained in:
Zane Schepke 2024-08-25 22:34:28 -04:00
parent 688fad770c
commit 543a61efe0
3 changed files with 14 additions and 3 deletions

View File

@ -58,14 +58,25 @@ android {
)
signingConfig = signingConfigs.getByName(Constants.RELEASE)
}
debug { isDebuggable = true }
debug {
applicationIdSuffix = ".debug"
versionNameSuffix = "-debug"
resValue("string", "app_name", "WG Tunnel - Debug")
isDebuggable = true
}
create(Constants.PRERELEASE) {
initWith(buildTypes.getByName(Constants.RELEASE))
applicationIdSuffix = ".prerelease"
versionNameSuffix = "-pre"
resValue("string", "app_name", "WG Tunnel - Pre")
}
create(Constants.NIGHTLY) {
initWith(buildTypes.getByName(Constants.RELEASE))
applicationIdSuffix = ".nightly"
versionNameSuffix = "-nightly"
resValue("string", "app_name", "WG Tunnel - Nightly")
}
applicationVariants.all {

View File

@ -1,7 +1,7 @@
object Constants {
const val VERSION_NAME = "3.5.1"
const val JVM_TARGET = "17"
const val VERSION_CODE = 35100
const val VERSION_CODE = 35101
const val TARGET_SDK = 34
const val MIN_SDK = 26
const val APP_ID = "com.zaneschepke.wireguardautotunnel"

View File

@ -25,7 +25,7 @@ tunnel = "1.2.1"
androidGradlePlugin = "8.6.0-rc01"
kotlin = "2.0.10"
ksp = "2.0.10-1.0.24"
composeBom = "2024.06.00"
composeBom = "2024.08.00"
compose = "1.6.8"
zxingAndroidEmbedded = "4.3.0"
coreSplashscreen = "1.0.1"