41 lines
1.4 KiB
Prolog
41 lines
1.4 KiB
Prolog
# Add project specific ProGuard rules here.
|
|
# You can control the set of applied configuration files using the
|
|
# proguardFiles setting in build.gradle.
|
|
#
|
|
# For more details, see
|
|
# http://developer.android.com/guide/developing/tools/proguard.html
|
|
|
|
# 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 *;
|
|
#}
|
|
-keep class **.models.** { *; }
|
|
-keep class **.model.** { *; }
|
|
|
|
-keepnames class * implements android.os.Parcelable {
|
|
public static final ** CREATOR;
|
|
}
|
|
-keepclassmembers class * implements android.os.Parcelable {
|
|
public static final android.os.Parcelable$Creator *;
|
|
}
|
|
|
|
#enums
|
|
-keepclassmembers class * extends java.lang.Enum {
|
|
<fields>;
|
|
public static **[] values();
|
|
public static ** valueOf(java.lang.String);
|
|
}
|
|
|
|
#Gson specific classes
|
|
-keep class com.google.gson.stream.** { *; }
|
|
-keep class com.google.gson.FieldNamingStrategy { *; }
|
|
-keep class com.google.gson.Gson.** { *; }
|
|
|
|
# Please add these rules to your existing keep rules in order to suppress warnings.
|
|
# This is generated automatically by the Android Gradle plugin.
|
|
-dontwarn javax.script.AbstractScriptEngine
|
|
-dontwarn javax.script.Compilable
|
|
-dontwarn javax.script.ScriptEngine
|
|
-dontwarn javax.script.ScriptEngineFactory |