Edxp-YAHFA: minify build
This commit is contained in:
parent
c13ae31b4c
commit
6804043a6c
|
|
@ -13,7 +13,7 @@ android {
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
minifyEnabled false
|
minifyEnabled true
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -57,7 +57,7 @@ afterEvaluate {
|
||||||
|
|
||||||
task("makeAndCopy${variantNameCapped}", type: Jar, dependsOn: "assemble${variantNameCapped}") {
|
task("makeAndCopy${variantNameCapped}", type: Jar, dependsOn: "assemble${variantNameCapped}") {
|
||||||
dependsOn tasks.getByPath(":edxp-common:copyCommonProperties")
|
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/")
|
destinationDir file(myTemplatePath + "system/framework/")
|
||||||
baseName "edxp"
|
baseName "edxp"
|
||||||
doLast {
|
doLast {
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@ android {
|
||||||
buildToolsVersion '28.0.3'
|
buildToolsVersion '28.0.3'
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
multiDexEnabled false
|
|
||||||
minSdkVersion 23
|
minSdkVersion 23
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue