mirror of
https://github.com/M66B/NetGuard.git
synced 2025-01-22 07:29:33 +00:00
Enabled proguard
This commit is contained in:
parent
30c57088ce
commit
642591a61e
2 changed files with 9 additions and 1 deletions
|
@ -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)
|
||||
|
|
8
app/proguard-rules.pro
vendored
8
app/proguard-rules.pro
vendored
|
@ -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 a new issue