Advertisement
wa1demar

Untitled

Jul 23rd, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.80 KB | None | 0 0
  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. # If your project uses WebView with JS, uncomment the following
  9. # and specify the fully qualified class name to the JavaScript interface
  10. # class:
  11. #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
  12. # public *;
  13. #}
  14.  
  15. # Uncomment this to preserve the line number information for
  16. # debugging stack traces.
  17. #-keepattributes SourceFile,LineNumberTable
  18.  
  19. # If you keep the line number information, uncomment this to
  20. # hide the original source file name.
  21. #-renamesourcefileattribute SourceFile
  22.  
  23. # Project
  24. -keep public class com.supersnaps.photoprinting.data.sync** { *; }
  25. -keep public class com.supersnaps.photoprinting.presentation.services** { *; }
  26.  
  27. # Support
  28. -dontwarn android.support.v7.**
  29. -keep class android.support.v7.** { *; }
  30. -keep interface android.support.v7.** { *; }
  31.  
  32. # support design
  33. -dontwarn android.support.design.**
  34. -keep class android.support.design.** { *; }
  35. -keep interface android.support.design.** { *; }
  36. -keep public class android.support.design.R$* { *; }
  37.  
  38. -dontwarn android.support.**
  39.  
  40. # keep setters in VectorDrawables so that animations can still work.
  41. -keepclassmembers class android.support.graphics.drawable.VectorDrawableCompat$* {
  42. void set*(***);
  43. *** get*();
  44. }
  45.  
  46. # Retrofit 2.X
  47. -keepattributes Signature
  48. -keepclassmembers,allowshrinking,allowobfuscation interface * {
  49. @retrofit2.http.* <methods>;
  50. }
  51. -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
  52. -dontwarn javax.annotation.**
  53.  
  54. # OkHttp
  55. -dontwarn javax.annotation.**
  56. -keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
  57. -dontwarn org.codehaus.mojo.animal_sniffer.*
  58. -dontwarn okhttp3.internal.platform.ConscryptPlatform
  59. -keep class okhttp3.Headers { *; }
  60.  
  61. # Logan Squere
  62. -keep class com.bluelinelabs.logansquare.** { *; }
  63. -keep @com.bluelinelabs.logansquare.annotation.JsonObject class *
  64. -keep class **$$JsonObjectMapper { *; }
  65.  
  66. # AutoScrollViewPager
  67. -keep class cn.trinea.android.** { *; }
  68. -keepclassmembers class cn.trinea.android.** { *; }
  69. -dontwarn cn.trinea.android.**
  70.  
  71. # BaseRecyclerViewAdapterHelper
  72. -keep class com.chad.library.adapter.** {
  73. *;
  74. }
  75. -keep public class * extends com.chad.library.adapter.base.BaseQuickAdapter
  76. -keep public class * extends com.chad.library.adapter.base.BaseViewHolder
  77. -keepclassmembers class **$** extends com.chad.library.adapter.base.BaseViewHolder {
  78. <init>(...);
  79. }
  80.  
  81.  
  82. # Room
  83. -dontwarn android.arch.util.paging.CountedDataSource
  84. -dontwarn android.arch.persistence.room.paging.LimitOffsetDataSource
  85.  
  86. # glide
  87. -keep public class * implements com.bumptech.glide.module.GlideModule
  88. -keep public class * extends com.bumptech.glide.module.AppGlideModule
  89. -keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
  90. **[] $VALUES;
  91. public *;
  92. }
  93.  
  94. # RxAndroid
  95. -dontwarn rx.internal.util.unsafe.**
  96.  
  97. # Fabric
  98. -keepattributes *Annotation*
  99. -keepattributes SourceFile,LineNumberTable
  100. -keep public class * extends java.lang.Exception
  101.  
  102. -keep class com.crashlytics.** { *; }
  103. -dontwarn com.crashlytics.**
  104. -keepattributes *Annotation*
  105. -keepattributes SourceFile,LineNumberTable
  106.  
  107. # JSOUP
  108. -keep public class org.jsoup.** {
  109. public *;
  110. }
  111.  
  112. #UCrop
  113. -dontwarn com.yalantis.ucrop**
  114. -keep class com.yalantis.ucrop** { *; }
  115. -keep interface com.yalantis.ucrop** { *; }
  116.  
  117. # Facebook
  118. -keep public class com.facebook.internal.FacebookInitProvider
  119.  
  120. # Firebase
  121. -keep class com.google.firebase.** { *; }
  122.  
  123. # Papertrail
  124.  
  125. -keep class ch.qos.** { *; }
  126. -keep class org.slf4j.** { *; }
  127. -keepattributes *Annotation*
  128. -dontwarn ch.qos.logback.core.net.*
  129.  
  130. -keepclassmembers enum * { *; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement