2016-01-16 16:33:35 +01:00
|
|
|
-dontobfuscate
|
|
|
|
|
2023-04-23 00:22:24 +02:00
|
|
|
-keep,allowoptimization class eu.kanade.**
|
2023-04-23 00:32:22 +02:00
|
|
|
-keep,allowoptimization class tachiyomi.**
|
2023-04-23 00:22:24 +02:00
|
|
|
|
2022-05-27 01:41:43 +02:00
|
|
|
# Keep common dependencies used in extensions
|
2022-05-27 04:33:18 +02:00
|
|
|
-keep,allowoptimization class androidx.preference.** { public protected *; }
|
2021-05-22 20:47:40 +02:00
|
|
|
-keep,allowoptimization class kotlin.** { public protected *; }
|
2021-08-05 19:10:09 +02:00
|
|
|
-keep,allowoptimization class kotlinx.coroutines.** { public protected *; }
|
2022-05-27 01:41:43 +02:00
|
|
|
-keep,allowoptimization class kotlinx.serialization.** { public protected *; }
|
2023-08-04 23:11:43 +02:00
|
|
|
-keep,allowoptimization class kotlin.time.** { public protected *; }
|
2021-05-22 20:47:40 +02:00
|
|
|
-keep,allowoptimization class okhttp3.** { public protected *; }
|
2021-05-22 21:52:01 +02:00
|
|
|
-keep,allowoptimization class okio.** { public protected *; }
|
2021-05-22 20:47:40 +02:00
|
|
|
-keep,allowoptimization class org.jsoup.** { public protected *; }
|
2023-08-26 16:30:26 +02:00
|
|
|
-keep,allowoptimization class rx.** { public protected *; }
|
2022-01-02 17:25:23 +01:00
|
|
|
-keep,allowoptimization class app.cash.quickjs.** { public protected *; }
|
2021-06-01 01:34:45 +02:00
|
|
|
-keep,allowoptimization class uy.kohesive.injekt.** { public protected *; }
|
2021-05-22 20:47:40 +02:00
|
|
|
|
2022-09-17 16:26:02 +02: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 20:47:40 +02:00
|
|
|
##---------------Begin: proguard configuration for RxJava 1.x ----------
|
2016-01-16 16:33:35 +01:00
|
|
|
-dontwarn sun.misc.**
|
2015-10-02 13:20:15 +02:00
|
|
|
|
2016-01-16 16:33:35 +01:00
|
|
|
-keepclassmembers class rx.internal.util.unsafe.*ArrayQueue*Field* {
|
|
|
|
long producerIndex;
|
|
|
|
long consumerIndex;
|
2015-10-02 13:20:15 +02:00
|
|
|
}
|
2016-01-16 16:33:35 +01:00
|
|
|
|
|
|
|
-keepclassmembers class rx.internal.util.unsafe.BaseLinkedQueueProducerNodeRef {
|
|
|
|
rx.internal.util.atomic.LinkedQueueNode producerNode;
|
2015-10-02 13:20:15 +02:00
|
|
|
}
|
2016-01-16 16:33:35 +01:00
|
|
|
|
|
|
|
-keepclassmembers class rx.internal.util.unsafe.BaseLinkedQueueConsumerNodeRef {
|
|
|
|
rx.internal.util.atomic.LinkedQueueNode consumerNode;
|
2015-10-02 13:20:15 +02:00
|
|
|
}
|
|
|
|
|
2021-05-22 20:47:40 +02:00
|
|
|
-dontnote rx.internal.util.PlatformDependent
|
|
|
|
##---------------End: proguard configuration for RxJava 1.x ----------
|
2016-01-16 16:33:35 +01:00
|
|
|
|
2021-05-22 21:41:08 +02:00
|
|
|
##---------------Begin: proguard configuration for kotlinx.serialization ----------
|
2020-10-13 23:34:39 +02:00
|
|
|
-keepattributes *Annotation*, InnerClasses
|
2023-12-25 22:31:40 +01:00
|
|
|
-dontnote kotlinx.serialization.** # core serialization annotations
|
2020-10-13 23:34:39 +02:00
|
|
|
|
2021-05-22 20:47:40 +02:00
|
|
|
# kotlinx-serialization-json specific. Add this if you have java.lang.NoClassDefFoundError kotlinx.serialization.json.JsonObjectSerializer
|
2020-10-13 23:34:39 +02:00
|
|
|
-keepclassmembers class kotlinx.serialization.json.** {
|
|
|
|
*** Companion;
|
|
|
|
}
|
|
|
|
-keepclasseswithmembers class kotlinx.serialization.json.** {
|
|
|
|
kotlinx.serialization.KSerializer serializer(...);
|
|
|
|
}
|
|
|
|
|
2022-10-01 16:47:45 +02:00
|
|
|
-keep,includedescriptorclasses class eu.kanade.**$$serializer { *; }
|
|
|
|
-keepclassmembers class eu.kanade.** {
|
2020-10-13 23:34:39 +02:00
|
|
|
*** Companion;
|
|
|
|
}
|
2022-10-01 16:47:45 +02:00
|
|
|
-keepclasseswithmembers class eu.kanade.** {
|
2020-10-13 23:34:39 +02:00
|
|
|
kotlinx.serialization.KSerializer serializer(...);
|
|
|
|
}
|
2021-05-22 21:41:08 +02:00
|
|
|
|
|
|
|
-keep class kotlinx.serialization.**
|
|
|
|
-keepclassmembers class kotlinx.serialization.** {
|
|
|
|
<methods>;
|
|
|
|
}
|
2022-09-26 23:28:22 +02:00
|
|
|
##---------------End: proguard configuration for kotlinx.serialization ----------
|
|
|
|
|
|
|
|
# XmlUtil
|
2023-04-23 17:59:44 +02:00
|
|
|
-keep public enum nl.adaptivity.xmlutil.EventType { *; }
|
2024-01-15 15:55:26 +01:00
|
|
|
|
2024-02-03 18:33:18 +01:00
|
|
|
# Apache Commons Compress
|
|
|
|
-keep class * extends org.apache.commons.compress.archivers.zip.ZipExtraField { <init>(); }
|
|
|
|
|
2024-01-15 15:55:26 +01:00
|
|
|
# Firebase
|
|
|
|
-keep class com.google.firebase.installations.** { *; }
|
|
|
|
-keep interface com.google.firebase.installations.** { *; }
|