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
- # 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
- # Project
- -keep public class com.supersnaps.photoprinting.data.sync** { *; }
- -keep public class com.supersnaps.photoprinting.presentation.services** { *; }
- # Support
- -dontwarn android.support.v7.**
- -keep class android.support.v7.** { *; }
- -keep interface android.support.v7.** { *; }
- # support design
- -dontwarn android.support.design.**
- -keep class android.support.design.** { *; }
- -keep interface android.support.design.** { *; }
- -keep public class android.support.design.R$* { *; }
- -dontwarn android.support.**
- # keep setters in VectorDrawables so that animations can still work.
- -keepclassmembers class android.support.graphics.drawable.VectorDrawableCompat$* {
- void set*(***);
- *** get*();
- }
- # Retrofit 2.X
- -keepattributes Signature
- -keepclassmembers,allowshrinking,allowobfuscation interface * {
- @retrofit2.http.* <methods>;
- }
- -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
- -dontwarn javax.annotation.**
- # OkHttp
- -dontwarn javax.annotation.**
- -keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
- -dontwarn org.codehaus.mojo.animal_sniffer.*
- -dontwarn okhttp3.internal.platform.ConscryptPlatform
- -keep class okhttp3.Headers { *; }
- # Logan Squere
- -keep class com.bluelinelabs.logansquare.** { *; }
- -keep @com.bluelinelabs.logansquare.annotation.JsonObject class *
- -keep class **$$JsonObjectMapper { *; }
- # AutoScrollViewPager
- -keep class cn.trinea.android.** { *; }
- -keepclassmembers class cn.trinea.android.** { *; }
- -dontwarn cn.trinea.android.**
- # BaseRecyclerViewAdapterHelper
- -keep class com.chad.library.adapter.** {
- *;
- }
- -keep public class * extends com.chad.library.adapter.base.BaseQuickAdapter
- -keep public class * extends com.chad.library.adapter.base.BaseViewHolder
- -keepclassmembers class **$** extends com.chad.library.adapter.base.BaseViewHolder {
- <init>(...);
- }
- # Room
- -dontwarn android.arch.util.paging.CountedDataSource
- -dontwarn android.arch.persistence.room.paging.LimitOffsetDataSource
- # glide
- -keep public class * implements com.bumptech.glide.module.GlideModule
- -keep public class * extends com.bumptech.glide.module.AppGlideModule
- -keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
- **[] $VALUES;
- public *;
- }
- # RxAndroid
- -dontwarn rx.internal.util.unsafe.**
- # Fabric
- -keepattributes *Annotation*
- -keepattributes SourceFile,LineNumberTable
- -keep public class * extends java.lang.Exception
- -keep class com.crashlytics.** { *; }
- -dontwarn com.crashlytics.**
- -keepattributes *Annotation*
- -keepattributes SourceFile,LineNumberTable
- # JSOUP
- -keep public class org.jsoup.** {
- public *;
- }
- #UCrop
- -dontwarn com.yalantis.ucrop**
- -keep class com.yalantis.ucrop** { *; }
- -keep interface com.yalantis.ucrop** { *; }
- # Facebook
- -keep public class com.facebook.internal.FacebookInitProvider
- # Firebase
- -keep class com.google.firebase.** { *; }
- # Papertrail
- -keep class ch.qos.** { *; }
- -keep class org.slf4j.** { *; }
- -keepattributes *Annotation*
- -dontwarn ch.qos.logback.core.net.*
- -keepclassmembers enum * { *; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement