Create staging build type after release
This commit is contained in:
parent
7fe197e3b6
commit
18b2867c3b
1 changed files with 4 additions and 4 deletions
|
@ -26,15 +26,15 @@ android {
|
||||||
getByName("debug") {
|
getByName("debug") {
|
||||||
applicationIdSuffix = ".debug"
|
applicationIdSuffix = ".debug"
|
||||||
}
|
}
|
||||||
create("staging") {
|
|
||||||
initWith(getByName("release"))
|
|
||||||
applicationIdSuffix = ".staging"
|
|
||||||
}
|
|
||||||
getByName("release") {
|
getByName("release") {
|
||||||
isMinifyEnabled = true
|
isMinifyEnabled = true
|
||||||
isShrinkResources = true
|
isShrinkResources = true
|
||||||
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
||||||
}
|
}
|
||||||
|
create("staging") {
|
||||||
|
initWith(getByName("release"))
|
||||||
|
applicationIdSuffix = ".staging"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
compileOptions {
|
compileOptions {
|
||||||
|
|
Loading…
Reference in a new issue