add package build types
This commit is contained in:
parent
688fad770c
commit
543a61efe0
|
@ -58,14 +58,25 @@ android {
|
||||||
)
|
)
|
||||||
signingConfig = signingConfigs.getByName(Constants.RELEASE)
|
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) {
|
create(Constants.PRERELEASE) {
|
||||||
initWith(buildTypes.getByName(Constants.RELEASE))
|
initWith(buildTypes.getByName(Constants.RELEASE))
|
||||||
|
applicationIdSuffix = ".prerelease"
|
||||||
|
versionNameSuffix = "-pre"
|
||||||
|
resValue("string", "app_name", "WG Tunnel - Pre")
|
||||||
}
|
}
|
||||||
|
|
||||||
create(Constants.NIGHTLY) {
|
create(Constants.NIGHTLY) {
|
||||||
initWith(buildTypes.getByName(Constants.RELEASE))
|
initWith(buildTypes.getByName(Constants.RELEASE))
|
||||||
|
applicationIdSuffix = ".nightly"
|
||||||
|
versionNameSuffix = "-nightly"
|
||||||
|
resValue("string", "app_name", "WG Tunnel - Nightly")
|
||||||
}
|
}
|
||||||
|
|
||||||
applicationVariants.all {
|
applicationVariants.all {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
object Constants {
|
object Constants {
|
||||||
const val VERSION_NAME = "3.5.1"
|
const val VERSION_NAME = "3.5.1"
|
||||||
const val JVM_TARGET = "17"
|
const val JVM_TARGET = "17"
|
||||||
const val VERSION_CODE = 35100
|
const val VERSION_CODE = 35101
|
||||||
const val TARGET_SDK = 34
|
const val TARGET_SDK = 34
|
||||||
const val MIN_SDK = 26
|
const val MIN_SDK = 26
|
||||||
const val APP_ID = "com.zaneschepke.wireguardautotunnel"
|
const val APP_ID = "com.zaneschepke.wireguardautotunnel"
|
||||||
|
|
|
@ -25,7 +25,7 @@ tunnel = "1.2.1"
|
||||||
androidGradlePlugin = "8.6.0-rc01"
|
androidGradlePlugin = "8.6.0-rc01"
|
||||||
kotlin = "2.0.10"
|
kotlin = "2.0.10"
|
||||||
ksp = "2.0.10-1.0.24"
|
ksp = "2.0.10-1.0.24"
|
||||||
composeBom = "2024.06.00"
|
composeBom = "2024.08.00"
|
||||||
compose = "1.6.8"
|
compose = "1.6.8"
|
||||||
zxingAndroidEmbedded = "4.3.0"
|
zxingAndroidEmbedded = "4.3.0"
|
||||||
coreSplashscreen = "1.0.1"
|
coreSplashscreen = "1.0.1"
|
||||||
|
|
Loading…
Reference in New Issue