Kore/app/proguard-rules.pro

50 lines
1.3 KiB
Prolog
Raw Permalink Normal View History

2015-01-14 12:12:47 +01:00
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /opt/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:
# Don't obfuscate for now. Obfuscation decreases apk size by about 300k
-dontobfuscate
# Picasso
-dontwarn com.squareup.okhttp.**
# okio via OkHttp
-dontwarn okio.**
2015-01-14 12:12:47 +01:00
# Butterknife
-dontwarn butterknife.internal.**
-keep class **$$ViewBinder { *; }
-keepnames class * { @butterknife.BindView *;}
2015-01-14 12:12:47 +01:00
# Jackson
-dontskipnonpubliclibraryclassmembers
-keepattributes EnclosingMethod, Signature
#-keep class org.codehaus.** { *; }
-keepnames class com.fasterxml.jackson.** { *; }
-dontwarn com.fasterxml.jackson.databind.**
# EventBus
-keepclassmembers class ** {
public void onEvent*(**);
}
# SearchView
-keep class androidx.appcompat.widget.SearchView { *; }
2015-01-14 12:12:47 +01:00
#JmDNS
-dontwarn org.slf4j.*
2015-01-14 12:12:47 +01:00
# 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 *;
#}