1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2024-12-22 15:58:25 +00:00
NetGuard/app/proguard-rules.pro
2016-01-21 13:18:30 +01:00

37 lines
1.1 KiB
Prolog

# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /home/marcel/Android/Sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
#Line numbers
-renamesourcefileattribute SourceFile
-keepattributes SourceFile,LineNumberTable
#NetGuard
-keepnames class eu.faircode.netguard.** { *; }
#JNI callback
-keep class eu.faircode.netguard.SinkholeService {
void selectExit(boolean);
void logPacket(long, int, java.lang.String, int, int, java.lang.String, int, boolean);
}
#Support library
-keep class android.support.v7.widget.** { *; }
-dontwarn android.support.v4.**
#Picasso
-dontwarn com.squareup.okhttp.**