1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2025-01-22 07:29:33 +00:00

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 { buildTypes {
release { release {
minifyEnabled false minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
applicationVariants.all { variant -> applicationVariants.all { variant ->
setOutputFile(variant, defaultConfig) setOutputFile(variant, defaultConfig)

View file

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