123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- # Add project specific ProGuard rules here.
- # By default, the flags in this file are appended to flags specified
- # in /Users/hitherejoe/Android Studio.app/sdk/tools/proguard/proguard-android.txt
- # You can edit the include path and order by changing the proguardFiles
- # directive in build.gradle.
- #
- # For more details, see
- # http://developer.android.com/guide/developing/tools/proguard.html
- # Add any project specific keep options here:
- # 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 *;
- #}
- # Retrolambda
- -dontwarn java.lang.invoke.*
- # OkHttp
- -keepattributes Signature
- -keepattributes *Annotation*
- -keep class com.squareup.okhttp.** { *; }
- -keep interface com.squareup.okhttp.** { *; }
- -dontwarn com.squareup.okhttp.**
- -dontwarn okio.**
- # Butterknife
- -keep class butterknife.** { *; }
- -dontwarn butterknife.internal.**
- -keep class **$$ViewBinder { *; }
- -keepclasseswithmembernames class * {
- @butterknife.* <fields>;
- }
- -keepclasseswithmembernames class * {
- @butterknife.* <methods>;
- }
- #Easy-Adapter v1.5.0
- -keepattributes *Annotation*
- -keepclassmembers class * extends uk.co.ribot.easyadapter.ItemViewHolder {
- public <init>(...);
- }
- ## GreenRobot EventBus specific rules ##
- # https://github.com/greenrobot/EventBus/blob/master/HOWTO.md#proguard-configuration
- -keepclassmembers class ** {
- public void onEvent*(***);
- }
- # Only required if you use AsyncExecutor
- -keepclassmembers class * extends de.greenrobot.event.util.ThrowableFailureEvent {
- public <init>(java.lang.Throwable);
- }
- # Don't warn for missing support classes
- -dontwarn de.greenrobot.event.util.*$Support
- -dontwarn de.greenrobot.event.util.*$SupportManagerFragment
- # Glide specific rules #
- # https://github.com/bumptech/glide
- -keep public class * implements com.bumptech.glide.module.GlideModule
- -keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {
- **[] $VALUES;
- public *;
- }
- # RxJava 0.21
- -keep class rx.schedulers.Schedulers {
- public static <methods>;
- }
- -keep class rx.schedulers.ImmediateScheduler {
- public <methods>;
- }
- -keep class rx.schedulers.TestScheduler {
- public <methods>;
- }
- -keep class rx.schedulers.Schedulers {
- public static ** test();
- }
- -dontwarn sun.misc.Unsafe
- # AppCombat
- -keep public class android.support.v7.widget.** { *; }
- -keep public class android.support.v7.internal.widget.** { *; }
- -keep public class android.support.v7.internal.view.menu.** { *; }
- -keep public class * extends android.support.v4.view.ActionProvider {
- public <init>(android.content.Context);
- }
|