From 383e22f628cc5c3ee0e2947ae9d330c7eb97ea9b Mon Sep 17 00:00:00 2001 From: Rui Ying Date: Mon, 17 Feb 2020 18:32:02 +0800 Subject: [PATCH] Shrink resources --- android/app/build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 2c924b7c..d7bff6b2 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -125,7 +125,8 @@ android { } release { minifyEnabled enableProguardInReleaseBuilds - proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" + shrinkResources enableProguardInReleaseBuilds + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' // Detox-specific additions to pro-guard proguardFile "${rootProject.projectDir}/../node_modules/detox/android/detox/proguard-rules-app.pro" signingConfig signingConfigs.release