100 lines
2.6 KiB
Prolog
100 lines
2.6 KiB
Prolog
# Add project specific ProGuard rules here.
|
|
# By default, the flags in this file are appended to flags specified
|
|
# in /Users/kiva/devel/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 *;
|
|
#}
|
|
|
|
# Uncomment this to preserve the line number information for
|
|
# debugging stack traces.
|
|
#-keepattributes SourceFile,LineNumberTable
|
|
|
|
# If you keep the line number information, uncomment this to
|
|
# hide the original source file name.
|
|
#-renamesourcefileattribute SourceFile
|
|
|
|
-dontpreverify
|
|
-printmapping proguardMapping.txt
|
|
|
|
|
|
-keep class io.neoterm.backend.JNI {
|
|
*;
|
|
}
|
|
|
|
-keep class android.support.** {
|
|
*;
|
|
}
|
|
|
|
#-keep class com.igalata.** {
|
|
#*;
|
|
#}
|
|
|
|
-keep class org.jbox2d.** {
|
|
*;
|
|
}
|
|
|
|
-keepattributes *Annotation*
|
|
-keepclassmembers class ** {
|
|
@org.greenrobot.eventbus.Subscribe <methods>;
|
|
}
|
|
-keep enum org.greenrobot.eventbus.ThreadMode { *; }
|
|
|
|
## Only required if you use AsyncExecutor
|
|
#-keepclassmembers class * extends org.greenrobot.eventbus.util.ThrowableFailureEvent {
|
|
# <init>(java.lang.Throwable);
|
|
#}
|
|
|
|
#skf4j
|
|
-dontwarn org.slf4j.**
|
|
|
|
-dontwarn sun.misc.**
|
|
|
|
# RxJava
|
|
#-keep class rx.** { *; }
|
|
-dontwarn rx.**
|
|
-keepclassmembers class rx.internal.util.unsafe.*ArrayQueue*Field* {
|
|
long producerIndex;
|
|
long consumerIndex;
|
|
}
|
|
-keepclassmembers class rx.internal.util.unsafe.BaseLinkedQueueProducerNodeRef {
|
|
rx.internal.util.atomic.LinkedQueueNode producerNode;
|
|
}
|
|
-keepclassmembers class rx.internal.util.unsafe.BaseLinkedQueueConsumerNodeRef {
|
|
rx.internal.util.atomic.LinkedQueueNode consumerNode;
|
|
}
|
|
|
|
|
|
# Parcelable
|
|
-keep class * implements android.os.Parcelable {
|
|
public static final android.os.Parcelable$Creator *;
|
|
}
|
|
-keepclassmembers class * implements android.os.Parcelable {
|
|
public <fields>;
|
|
private <fields>;
|
|
}
|
|
|
|
# Serializable
|
|
-keepclassmembers class * implements java.io.Serializable {
|
|
static final long serialVersionUID;
|
|
private static final java.io.ObjectStreamField[] serialPersistentFields;
|
|
private void writeObject(java.io.ObjectOutputStream);
|
|
private void readObject(java.io.ObjectInputStream);
|
|
java.lang.Object writeReplace();
|
|
java.lang.Object readResolve();
|
|
}
|
|
|
|
-keep class * extends io.neoterm.framework.database.annotation.* { *; }
|
|
-keep interface * extends io.neoterm.framework.database.annotation.* { *; }
|
|
|