Fixed proguard

This commit is contained in:
M66B 2015-11-07 13:42:58 +01:00
parent ae377751cf
commit 7a8a0755dd
2 changed files with 9 additions and 1 deletions

View File

@ -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)

View File

@ -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.