From 7a8a0755dda2ea7b70d1e6383b290aa9833348f6 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 7 Nov 2015 13:42:58 +0100 Subject: [PATCH] Fixed proguard --- app/build.gradle | 2 +- app/proguard-rules.pro | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index cbce0450..b1706831 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -13,7 +13,7 @@ android { } buildTypes { release { - minifyEnabled false + minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' applicationVariants.all { variant -> setOutputFile(variant, defaultConfig) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index fd7b4d3e..d0369729 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -22,5 +22,13 @@ #NetGuard -keepnames class eu.faircode.netguard.** { *; } + +#Support library -keep class android.support.v7.widget.** { *; } -dontwarn android.support.v4.** + +#Picasso +-dontwarn com.squareup.okhttp.** + +#Play services +-dontwarn com.google.android.gms. \ No newline at end of file