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 {
|
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)
|
||||||
|
|
8
app/proguard-rules.pro
vendored
8
app/proguard-rules.pro
vendored
|
@ -22,5 +22,13 @@
|
||||||
|
|
||||||
#NetGuard
|
#NetGuard
|
||||||
-keepnames class eu.faircode.netguard.** { *; }
|
-keepnames class eu.faircode.netguard.** { *; }
|
||||||
|
|
||||||
|
#Support library
|
||||||
-keep class android.support.v7.widget.** { *; }
|
-keep class android.support.v7.widget.** { *; }
|
||||||
-dontwarn android.support.v4.**
|
-dontwarn android.support.v4.**
|
||||||
|
|
||||||
|
#Picasso
|
||||||
|
-dontwarn com.squareup.okhttp.**
|
||||||
|
|
||||||
|
#Play services
|
||||||
|
-dontwarn com.google.android.gms.
|
Loading…
Reference in a new issue