From e8c3a038e738cb84fbf91841c28c8a92f06d9f1a Mon Sep 17 00:00:00 2001 From: Ademar Alves de Oliveira Date: Sat, 1 Jul 2017 14:25:30 -0500 Subject: [PATCH] Add proguard configuration --- Examples/Android/app/build.gradle | 9 +++++++++ Examples/Android/app/proguard-rules.pro | 1 + 2 files changed, 10 insertions(+) create mode 100644 Examples/Android/app/proguard-rules.pro diff --git a/Examples/Android/app/build.gradle b/Examples/Android/app/build.gradle index e1718ff..2c71290 100644 --- a/Examples/Android/app/build.gradle +++ b/Examples/Android/app/build.gradle @@ -10,6 +10,15 @@ android { targetSdkVersion 25 } + buildTypes { + all { + shrinkResources true + minifyEnabled true + proguardFile getDefaultProguardFile("proguard-android.txt") + proguardFile "proguard-rules.pro" + } + } + } dependencies { diff --git a/Examples/Android/app/proguard-rules.pro b/Examples/Android/app/proguard-rules.pro new file mode 100644 index 0000000..e1df3fa --- /dev/null +++ b/Examples/Android/app/proguard-rules.pro @@ -0,0 +1 @@ +# Not necessary any especial configuration