mirror of https://github.com/M66B/NetGuard.git
Enabled proguard
This commit is contained in:
parent
30c57088ce
commit
642591a61e
|
@ -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)
|
||||
|
|
|
@ -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.**
|
||||
|
|
Loading…
Reference in New Issue