Disable shrinkResources due to buildtool bug

This commit is contained in:
topjohnwu 2017-06-16 15:25:22 +08:00
parent e0b4d1c1e4
commit a161491bfd
2 changed files with 5 additions and 3 deletions

View File

@ -19,7 +19,7 @@ android {
buildTypes {
release {
minifyEnabled true
shrinkResources true
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
@ -58,7 +58,6 @@ dependencies {
implementation 'com.madgag.spongycastle:core:1.54.0.0'
implementation 'com.madgag.spongycastle:prov:1.54.0.0'
implementation 'com.madgag.spongycastle:pkix:1.54.0.0'
implementation 'com.madgag.spongycastle:pg:1.54.0.0'
implementation 'com.google.android.gms:play-services-safetynet:9.0.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.6.0'
}

View File

@ -19,4 +19,7 @@ org.gradle.parallel=true
# When set to true the Gradle daemon is used to run the build. For local developer builds this is our favorite property.
# The developer environment is optimized for speed and feedback so we nearly always run Gradle jobs with the daemon.
org.gradle.daemon=true
org.gradle.daemon=true
# Enable AAPT2
android.enableAapt2=true