Edxp-YAHFA: minify build

This commit is contained in:
solohsu 2019-04-20 12:27:23 +08:00
parent c13ae31b4c
commit 6804043a6c
2 changed files with 2 additions and 3 deletions

View File

@ -13,7 +13,7 @@ android {
buildTypes {
release {
minifyEnabled false
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
@ -57,7 +57,7 @@ afterEvaluate {
task("makeAndCopy${variantNameCapped}", type: Jar, dependsOn: "assemble${variantNameCapped}") {
dependsOn tasks.getByPath(":edxp-common:copyCommonProperties")
from "${buildDir}/intermediates/dex/${variantNameLowered}/mergeDex${variantNameCapped}/out/"
from "${buildDir}/intermediates/transforms/dexMerger/${variantNameLowered}/0/"
destinationDir file(myTemplatePath + "system/framework/")
baseName "edxp"
doLast {

View File

@ -5,7 +5,6 @@ android {
buildToolsVersion '28.0.3'
defaultConfig {
multiDexEnabled false
minSdkVersion 23
}