|
@@ -2,9 +2,6 @@
|
|
|
|
|
|
-keep class eu.kanade.tachiyomi.injection.** { *; }
|
|
|
|
|
|
-# Retrolambda
|
|
|
--dontwarn java.lang.invoke.*
|
|
|
-
|
|
|
# OkHttp
|
|
|
-keepattributes Signature
|
|
|
-keepattributes *Annotation*
|
|
@@ -19,25 +16,6 @@
|
|
|
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
|
|
|
-dontwarn okio.**
|
|
|
|
|
|
-# ButterKnife 7
|
|
|
--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>(...);
|
|
|
- }
|
|
|
-
|
|
|
# Glide specific rules #
|
|
|
# https://github.com/bumptech/glide
|
|
|
-keep public class * implements com.bumptech.glide.module.GlideModule
|
|
@@ -47,7 +25,6 @@
|
|
|
}
|
|
|
|
|
|
# RxJava 1.1.0
|
|
|
-
|
|
|
-dontwarn sun.misc.**
|
|
|
|
|
|
-keepclassmembers class rx.internal.util.unsafe.*ArrayQueue*Field* {
|
|
@@ -63,27 +40,18 @@
|
|
|
rx.internal.util.atomic.LinkedQueueNode consumerNode;
|
|
|
}
|
|
|
|
|
|
-# Retrofit 1.X
|
|
|
-
|
|
|
--keep class com.squareup.okhttp.** { *; }
|
|
|
--keep class retrofit.** { *; }
|
|
|
--keep interface com.squareup.okhttp.** { *; }
|
|
|
+# Retrofit 2.X
|
|
|
+## https://square.github.io/retrofit/ ##
|
|
|
|
|
|
--dontwarn com.squareup.okhttp.**
|
|
|
--dontwarn okio.**
|
|
|
--dontwarn retrofit.**
|
|
|
--dontwarn rx.**
|
|
|
+-dontwarn retrofit2.**
|
|
|
+-keep class retrofit2.** { *; }
|
|
|
+-keepattributes Signature
|
|
|
+-keepattributes Exceptions
|
|
|
|
|
|
-keepclasseswithmembers class * {
|
|
|
- @retrofit.http.* <methods>;
|
|
|
+ @retrofit2.http.* <methods>;
|
|
|
}
|
|
|
|
|
|
-# If in your rest service interface you use methods with Callback argument.
|
|
|
--keepattributes Exceptions
|
|
|
-
|
|
|
-# If your rest service methods throw custom exceptions, because you've defined an ErrorHandler.
|
|
|
--keepattributes Signature
|
|
|
-
|
|
|
# AppCombat
|
|
|
-keep public class android.support.v7.widget.** { *; }
|
|
|
-keep public class android.support.v7.internal.widget.** { *; }
|
|
@@ -93,13 +61,6 @@
|
|
|
public <init>(android.content.Context);
|
|
|
}
|
|
|
|
|
|
-# Icepick
|
|
|
--dontwarn icepick.**
|
|
|
--keep class **$$Icepick { *; }
|
|
|
--keepclasseswithmembernames class * {
|
|
|
- @icepick.* <fields>;
|
|
|
-}
|
|
|
-
|
|
|
## GSON 2.2.4 specific rules ##
|
|
|
|
|
|
# Gson uses generic type information stored in a class file when working with fields. Proguard
|