Advertisement
Guest User

Untitled

a guest
Oct 8th, 2018
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Add project specific ProGuard rules here.
  2. # You can control the set of applied configuration files using the
  3. # proguardFiles setting in build.gradle.
  4. #
  5. # For more details, see
  6. #   http://developer.android.com/guide/developing/tools/proguard.html
  7.  
  8. # Uncomment this to preserve the line number information for
  9. # debugging stack traces.
  10. -keepattributes SourceFile,LineNumberTable
  11.  
  12. # If you keep the line number information, uncomment this to
  13. # hide the original source file name.
  14. #-renamesourcefileattribute SourceFile
  15.  
  16. # Google GMS
  17. -keep public class com.google.android.gms.* { public *; }
  18. -dontwarn com.google.android.gms.**
  19.  
  20. # RETROFIT
  21. -dontwarn retrofit2.**
  22. -keep class retrofit2.** { *; }
  23. -keep class co.seez.seezr.data.responsemodels.** { *; }
  24. -keepattributes Signature
  25. -keepattributes Exceptions
  26.  
  27. -keepclasseswithmembers class * {
  28.     @retrofit2.http.* <methods>;
  29. }
  30.  
  31. # OkHttp
  32. -keepattributes Signature
  33. -keepattributes *Annotation*
  34. -keep class okhttp3.** { *; }
  35. -keep interface okhttp3.** { *; }
  36. -dontwarn okhttp3.**
  37.  
  38. # Okio
  39. -keep class sun.misc.Unsafe { *; }
  40. -dontwarn java.nio.file.*
  41. -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
  42. -dontwarn okio.**
  43.  
  44. # Picasso
  45. -dontwarn com.squareup.okhttp.**
  46.  
  47. # Facebook
  48. -keep class com.facebook.** {
  49.    *;
  50. }
  51.  
  52. # GreenRobot Event Bus
  53. -keepattributes *Annotation*
  54. -keepclassmembers class * {
  55.     @org.greenrobot.eventbus.Subscribe <methods>;
  56. }
  57. -keep enum org.greenrobot.eventbus.ThreadMode { *; }
  58.  
  59. # Only required if you use AsyncExecutor
  60. -keepclassmembers class * extends org.greenrobot.eventbus.util.ThrowableFailureEvent {
  61.     <init>(java.lang.Throwable);
  62. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement