2013-05-26 12:39:44 +00:00
|
|
|
# Add project specific ProGuard rules here.
|
|
|
|
# By default, the flags in this file are appended to flags specified
|
2014-01-24 08:45:36 +00:00
|
|
|
# in /opt/android-studio/sdk/tools/proguard/proguard-android.txt
|
2013-05-26 12:39:44 +00:00
|
|
|
# You can edit the include path and order by changing the ProGuard
|
|
|
|
# include property in project.properties.
|
|
|
|
#
|
|
|
|
# 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 *;
|
2015-08-20 15:02:23 +00:00
|
|
|
#}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-keepnames class * implements java.io.Serializable
|
|
|
|
|
|
|
|
-keepclassmembers class * implements java.io.Serializable {
|
|
|
|
static final long serialVersionUID;
|
|
|
|
private static final java.io.ObjectStreamField[] serialPersistentFields;
|
|
|
|
!static !transient <fields>;
|
|
|
|
private void writeObject(java.io.ObjectOutputStream);
|
|
|
|
private void readObject(java.io.ObjectInputStream);
|
|
|
|
java.lang.Object writeReplace();
|
|
|
|
java.lang.Object readResolve();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Butterknife
|
|
|
|
-keep class butterknife.** { *; }
|
|
|
|
-dontwarn butterknife.internal.**
|
|
|
|
-keep class **$$ViewBinder { *; }
|
|
|
|
|
|
|
|
-keepclasseswithmembernames class * {
|
|
|
|
@butterknife.* <fields>;
|
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembernames class * {
|
|
|
|
@butterknife.* <methods>;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
###############
|
|
|
|
# I use proguard only to remove unused stuff and to keep the app small.
|
|
|
|
# I donot want to obfuscate (rename packages, classes, methods, ...) since this is open source
|
|
|
|
-keepnames class ** { *; }
|
|
|
|
-keepnames interface ** { *; }
|
|
|
|
-keepnames enum ** { *; }
|
|
|
|
|
|
|
|
|
|
|
|
-dontwarn de.greenrobot.daogenerator.DaoGenerator
|