Release mode: add some codeoptimization to look how it behaves
This commit is contained in:
parent
7a5c9ae211
commit
1f43dfbc6e
2 changed files with 33 additions and 7 deletions
|
|
@ -49,13 +49,13 @@ android {
|
|||
named("release") {
|
||||
resValue("string", "app_name", "ElementX")
|
||||
signingConfig = signingConfigs.getByName("debug")
|
||||
isMinifyEnabled = false
|
||||
setProguardFiles(
|
||||
listOf(
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
"proguard-rules.pro"
|
||||
)
|
||||
)
|
||||
|
||||
postprocessing {
|
||||
isRemoveUnusedCode = true
|
||||
isObfuscate = false
|
||||
isOptimizeCode = true
|
||||
proguardFiles("proguard-rules.pro")
|
||||
}
|
||||
}
|
||||
|
||||
register("nightly") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue