feature: separate package names for pre release and dev builds
This commit is contained in:
@@ -36,6 +36,21 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
flavorDimensions "versions"
|
||||
|
||||
productFlavors {
|
||||
dev {
|
||||
applicationIdSuffix = ".dev"
|
||||
versionNameSuffix = "-dev"
|
||||
}
|
||||
pre_release {
|
||||
applicationIdSuffix = ".pre"
|
||||
versionNameSuffix = "-pre-release"
|
||||
}
|
||||
prod {
|
||||
}
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
jniLibs.srcDirs = ['libs']
|
||||
|
||||
4
V2rayNG/app/src/dev/res/values/strings.xml
Normal file
4
V2rayNG/app/src/dev/res/values/strings.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<item name="app_name" type="string">v2rayNG (DEV)</item>
|
||||
</resources>
|
||||
4
V2rayNG/app/src/pre_release/res/values/strings.xml
Normal file
4
V2rayNG/app/src/pre_release/res/values/strings.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="app_name" translatable="false">v2rayNG (PR)</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user