Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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
- # 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
- # Google GMS
- -keep public class com.google.android.gms.* { public *; }
- -dontwarn com.google.android.gms.**
- # RETROFIT
- -dontwarn retrofit2.**
- -keep class retrofit2.** { *; }
- -keep class co.seez.seezr.data.responsemodels.** { *; }
- -keepattributes Signature
- -keepattributes Exceptions
- -keepclasseswithmembers class * {
- @retrofit2.http.* <methods>;
- }
- # OkHttp
- -keepattributes Signature
- -keepattributes *Annotation*
- -keep class okhttp3.** { *; }
- -keep interface okhttp3.** { *; }
- -dontwarn okhttp3.**
- # Okio
- -keep class sun.misc.Unsafe { *; }
- -dontwarn java.nio.file.*
- -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
- -dontwarn okio.**
- # Picasso
- -dontwarn com.squareup.okhttp.**
- # Facebook
- -keep class com.facebook.** {
- *;
- }
- # GreenRobot Event Bus
- -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);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement