mirror of
https://github.com/M66B/NetGuard.git
synced 2025-01-03 13:54:09 +00:00
Fixed proguard
This commit is contained in:
parent
ae377751cf
commit
7a8a0755dd
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
|
@ -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.
|
Loading…
Reference in a new issue