From a161491bfd2348254dd4a92129905074c61fa93a Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Fri, 16 Jun 2017 15:25:22 +0800 Subject: [PATCH] Disable shrinkResources due to buildtool bug --- app/build.gradle | 3 +-- gradle.properties | 5 ++++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 747e4c0c1..72c1ba6f3 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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' } diff --git a/gradle.properties b/gradle.properties index a443f4c71..fd25e7773 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 \ No newline at end of file +org.gradle.daemon=true + +# Enable AAPT2 +android.enableAapt2=true