Enabled proguard

This commit is contained in:
M66B 2015-10-30 10:10:05 +01:00
parent 30c57088ce
commit 642591a61e
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

@ -15,3 +15,11 @@
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
#Line numbers
-renamesourcefileattribute SourceFile
-keepattributes SourceFile,LineNumberTable
#NetGuard
-keepnames class eu.faircode.netguard.** { *; }
-dontwarn android.support.v4.**