2016-01-16 18:33:35 +03:00
|
|
|
-dontobfuscate
|
|
|
|
|
2023-07-23 16:50:00 +03:00
|
|
|
-keep,allowoptimization class eu.kanade.**
|
|
|
|
-keep,allowoptimization class tachiyomi.**
|
2024-07-04 13:50:40 +03:00
|
|
|
-keep,allowoptimization class mihon.**
|
2023-07-23 16:50:00 +03:00
|
|
|
|
2022-05-27 02:41:43 +03:00
|
|
|
# Keep common dependencies used in extensions
|
2022-05-27 05:33:18 +03:00
|
|
|
-keep,allowoptimization class androidx.preference.** { public protected *; }
|
2021-05-28 15:53:27 +03:00
|
|
|
-keep,allowoptimization class android.content.** { *; }
|
2021-06-01 12:46:45 +03:00
|
|
|
-keep,allowoptimization class uy.kohesive.injekt.** { public protected *; }
|
2021-05-29 00:36:41 +03:00
|
|
|
-keep,allowoptimization class android.test.base.** { *; }
|
2024-07-01 19:16:24 +03:00
|
|
|
-keep,allowoptimization class kotlin.** { public protected *; }
|
2021-08-05 20:10:09 +03:00
|
|
|
-keep,allowoptimization class kotlinx.coroutines.** { public protected *; }
|
2022-05-27 02:41:43 +03:00
|
|
|
-keep,allowoptimization class kotlinx.serialization.** { public protected *; }
|
2021-05-22 21:47:40 +03:00
|
|
|
-keep,allowoptimization class okhttp3.** { public protected *; }
|
2021-05-22 22:52:01 +03:00
|
|
|
-keep,allowoptimization class okio.** { public protected *; }
|
2021-05-22 21:47:40 +03:00
|
|
|
-keep,allowoptimization class org.jsoup.** { public protected *; }
|
2023-11-28 01:08:16 +03:00
|
|
|
-keep,allowoptimization class rx.** { public protected *; }
|
2022-01-02 19:25:23 +03:00
|
|
|
-keep,allowoptimization class app.cash.quickjs.** { public protected *; }
|
2021-06-01 02:34:45 +03:00
|
|
|
-keep,allowoptimization class uy.kohesive.injekt.** { public protected *; }
|
2022-05-31 03:41:41 +03:00
|
|
|
-keep,allowoptimization class is.xyz.mpv.** { public protected *; }
|
2022-08-13 02:32:01 +03:00
|
|
|
-keep,allowoptimization class com.arthenica.** { public protected *; }
|
2021-05-22 21:47:40 +03:00
|
|
|
|
2022-09-17 17:26:02 +03:00
|
|
|
# From extensions-lib
|
|
|
|
-keep,allowoptimization class eu.kanade.tachiyomi.network.interceptor.RateLimitInterceptorKt { public protected *; }
|
|
|
|
-keep,allowoptimization class eu.kanade.tachiyomi.network.interceptor.SpecificHostRateLimitInterceptorKt { public protected *; }
|
|
|
|
-keep,allowoptimization class eu.kanade.tachiyomi.network.NetworkHelper { public protected *; }
|
|
|
|
-keep,allowoptimization class eu.kanade.tachiyomi.network.OkHttpExtensionsKt { public protected *; }
|
|
|
|
-keep,allowoptimization class eu.kanade.tachiyomi.network.RequestsKt { public protected *; }
|
|
|
|
-keep,allowoptimization class eu.kanade.tachiyomi.AppInfo { public protected *; }
|
|
|
|
|
2021-05-22 21:47:40 +03:00
|
|
|
##---------------Begin: proguard configuration for RxJava 1.x ----------
|
2016-01-16 18:33:35 +03:00
|
|
|
-dontwarn sun.misc.**
|
2015-10-02 14:20:15 +03:00
|
|
|
|
2016-01-16 18:33:35 +03:00
|
|
|
-keepclassmembers class rx.internal.util.unsafe.*ArrayQueue*Field* {
|
|
|
|
long producerIndex;
|
|
|
|
long consumerIndex;
|
2015-10-02 14:20:15 +03:00
|
|
|
}
|
2016-01-16 18:33:35 +03:00
|
|
|
|
|
|
|
-keepclassmembers class rx.internal.util.unsafe.BaseLinkedQueueProducerNodeRef {
|
|
|
|
rx.internal.util.atomic.LinkedQueueNode producerNode;
|
2015-10-02 14:20:15 +03:00
|
|
|
}
|
2016-01-16 18:33:35 +03:00
|
|
|
|
|
|
|
-keepclassmembers class rx.internal.util.unsafe.BaseLinkedQueueConsumerNodeRef {
|
|
|
|
rx.internal.util.atomic.LinkedQueueNode consumerNode;
|
2015-10-02 14:20:15 +03:00
|
|
|
}
|
|
|
|
|
2021-05-22 21:47:40 +03:00
|
|
|
-dontnote rx.internal.util.PlatformDependent
|
|
|
|
##---------------End: proguard configuration for RxJava 1.x ----------
|
2016-01-16 18:33:35 +03:00
|
|
|
|
2024-07-12 19:16:16 +03:00
|
|
|
##---------------Begin: proguard configuration for okhttp ----------
|
|
|
|
-keepclasseswithmembers class okhttp3.MultipartBody$Builder { *; }
|
|
|
|
##---------------End: proguard configuration for okhttp ----------
|
|
|
|
|
2021-05-22 22:41:08 +03:00
|
|
|
##---------------Begin: proguard configuration for kotlinx.serialization ----------
|
2020-10-14 00:34:39 +03:00
|
|
|
-keepattributes *Annotation*, InnerClasses
|
2023-12-26 00:31:40 +03:00
|
|
|
-dontnote kotlinx.serialization.** # core serialization annotations
|
2020-10-14 00:34:39 +03:00
|
|
|
|
2021-05-22 21:47:40 +03:00
|
|
|
# kotlinx-serialization-json specific. Add this if you have java.lang.NoClassDefFoundError kotlinx.serialization.json.JsonObjectSerializer
|
2020-10-14 00:34:39 +03:00
|
|
|
-keepclassmembers class kotlinx.serialization.json.** {
|
|
|
|
*** Companion;
|
|
|
|
}
|
|
|
|
-keepclasseswithmembers class kotlinx.serialization.json.** {
|
|
|
|
kotlinx.serialization.KSerializer serializer(...);
|
|
|
|
}
|
|
|
|
|
2022-10-01 17:47:45 +03:00
|
|
|
-keep,includedescriptorclasses class eu.kanade.**$$serializer { *; }
|
|
|
|
-keepclassmembers class eu.kanade.** {
|
2020-10-14 00:34:39 +03:00
|
|
|
*** Companion;
|
|
|
|
}
|
2022-10-01 17:47:45 +03:00
|
|
|
-keepclasseswithmembers class eu.kanade.** {
|
2020-10-14 00:34:39 +03:00
|
|
|
kotlinx.serialization.KSerializer serializer(...);
|
|
|
|
}
|
2021-05-22 22:41:08 +03:00
|
|
|
|
|
|
|
-keep class kotlinx.serialization.**
|
|
|
|
-keepclassmembers class kotlinx.serialization.** {
|
|
|
|
<methods>;
|
|
|
|
}
|
|
|
|
##---------------End: proguard configuration for kotlinx.serialization ----------
|
2022-09-27 00:28:22 +03:00
|
|
|
|
|
|
|
# XmlUtil
|
2024-07-12 23:00:23 +03:00
|
|
|
-keep public enum nl.adaptivity.xmlutil.EventType { *; }
|