2016-01-16 10:33:35 -05:00
|
|
|
-dontobfuscate
|
|
|
|
|
2017-07-08 12:07:43 -04:00
|
|
|
-dontwarn eu.kanade.tachiyomi.**
|
2016-10-17 02:43:19 -04:00
|
|
|
-keep class eu.kanade.tachiyomi.**
|
2017-04-20 18:19:10 -04:00
|
|
|
-keep class eu.kanade.tachiyomi.source.model.** { *; }
|
2016-10-17 02:43:19 -04:00
|
|
|
|
2020-01-05 11:29:27 -05:00
|
|
|
# Design library
|
|
|
|
-dontwarn com.google.android.material.**
|
|
|
|
-keep class com.google.android.material.** { *; }
|
|
|
|
-keep interface com.google.android.material.** { *; }
|
|
|
|
-keep public class com.google.android.material.R$* { *; }
|
|
|
|
|
2016-10-30 12:39:16 -04:00
|
|
|
-keep class com.hippo.image.** { *; }
|
|
|
|
-keep interface com.hippo.image.** { *; }
|
2017-09-30 12:49:43 -04:00
|
|
|
-dontwarn nucleus.view.NucleusActionBarActivity
|
2016-10-30 12:39:16 -04:00
|
|
|
|
2017-08-06 10:19:25 -04:00
|
|
|
# Extensions may require methods unused in the core app
|
|
|
|
-keep class org.jsoup.** { *; }
|
|
|
|
-keep class kotlin.** { *; }
|
2017-09-08 11:43:46 -04:00
|
|
|
-keep class okhttp3.** { *; }
|
|
|
|
-keep class com.google.gson.** { *; }
|
|
|
|
-keep class com.github.salomonbrys.kotson.** { *; }
|
2017-08-06 10:19:25 -04:00
|
|
|
|
2015-10-02 07:20:15 -04:00
|
|
|
# OkHttp
|
2016-02-03 06:56:12 -05:00
|
|
|
-dontwarn okhttp3.**
|
2015-10-02 07:20:15 -04:00
|
|
|
-dontwarn okio.**
|
2017-07-08 12:07:43 -04:00
|
|
|
-dontwarn javax.annotation.**
|
|
|
|
-dontwarn retrofit2.Platform$Java8
|
2016-01-16 10:33:35 -05:00
|
|
|
|
2015-10-02 07:20:15 -04:00
|
|
|
|
2016-01-16 10:33:35 -05:00
|
|
|
# RxJava 1.1.0
|
|
|
|
-dontwarn sun.misc.**
|
2015-10-02 07:20:15 -04:00
|
|
|
|
2016-01-16 10:33:35 -05:00
|
|
|
-keepclassmembers class rx.internal.util.unsafe.*ArrayQueue*Field* {
|
|
|
|
long producerIndex;
|
|
|
|
long consumerIndex;
|
2015-10-02 07:20:15 -04:00
|
|
|
}
|
2016-01-16 10:33:35 -05:00
|
|
|
|
|
|
|
-keepclassmembers class rx.internal.util.unsafe.BaseLinkedQueueProducerNodeRef {
|
|
|
|
rx.internal.util.atomic.LinkedQueueNode producerNode;
|
2015-10-02 07:20:15 -04:00
|
|
|
}
|
2016-01-16 10:33:35 -05:00
|
|
|
|
|
|
|
-keepclassmembers class rx.internal.util.unsafe.BaseLinkedQueueConsumerNodeRef {
|
|
|
|
rx.internal.util.atomic.LinkedQueueNode consumerNode;
|
2015-10-02 07:20:15 -04:00
|
|
|
}
|
|
|
|
|
2016-12-03 10:54:29 -05:00
|
|
|
# ReactiveNetwork
|
|
|
|
-dontwarn com.github.pwittchen.reactivenetwork.**
|
|
|
|
|
|
|
|
## GSON ##
|
2016-01-16 10:33:35 -05:00
|
|
|
|
|
|
|
# Gson uses generic type information stored in a class file when working with fields. Proguard
|
|
|
|
# removes such information by default, so configure it to keep all of it.
|
|
|
|
-keepattributes Signature
|
|
|
|
|
|
|
|
# Gson specific classes
|
|
|
|
-keep class sun.misc.Unsafe { *; }
|
|
|
|
|
2016-12-03 10:54:29 -05:00
|
|
|
# Prevent proguard from stripping interface information from TypeAdapterFactory,
|
|
|
|
# JsonSerializer, JsonDeserializer instances (so they can be used in @JsonAdapter)
|
|
|
|
-keep class * implements com.google.gson.TypeAdapterFactory
|
|
|
|
-keep class * implements com.google.gson.JsonSerializer
|
|
|
|
-keep class * implements com.google.gson.JsonDeserializer
|
2016-06-05 17:40:27 -04:00
|
|
|
|
|
|
|
# SnakeYaml
|
|
|
|
-keep class org.yaml.snakeyaml.** { public protected private *; }
|
|
|
|
-dontwarn org.yaml.snakeyaml.**
|
|
|
|
|
|
|
|
# Duktape
|
2020-01-05 11:29:27 -05:00
|
|
|
-keep class com.squareup.duktape.** { *; }
|