mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-27 16:26:29 +03:00
8f45a8e122
* Refactor archive support with libarchive * Revert string resource changs * Only mark archive formats as supported Comic book archives should not be compressed. * Fixup * Remove epub from archive format list * Move to mihon package * Format * Cleanup Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com>
82 lines
No EOL
3.6 KiB
Prolog
82 lines
No EOL
3.6 KiB
Prolog
-dontobfuscate
|
|
|
|
-keep,allowoptimization class eu.kanade.**
|
|
-keep,allowoptimization class tachiyomi.**
|
|
-keep,allowoptimization class mihon.**
|
|
|
|
# Keep common dependencies used in extensions
|
|
-keep,allowoptimization class androidx.preference.** { public protected *; }
|
|
-keep,allowoptimization class android.content.** { *; }
|
|
-keep,allowoptimization class uy.kohesive.injekt.** { public protected *; }
|
|
-keep,allowoptimization class android.test.base.** { *; }
|
|
-keep,allowoptimization class kotlin.** { public protected *; }
|
|
-keep,allowoptimization class kotlinx.coroutines.** { public protected *; }
|
|
-keep,allowoptimization class kotlinx.serialization.** { public protected *; }
|
|
-keep,allowoptimization class okhttp3.** { public protected *; }
|
|
-keep,allowoptimization class okio.** { public protected *; }
|
|
-keep,allowoptimization class org.jsoup.** { public protected *; }
|
|
-keep,allowoptimization class rx.** { public protected *; }
|
|
-keep,allowoptimization class app.cash.quickjs.** { public protected *; }
|
|
-keep,allowoptimization class uy.kohesive.injekt.** { public protected *; }
|
|
-keep,allowoptimization class is.xyz.mpv.** { public protected *; }
|
|
-keep,allowoptimization class com.arthenica.** { public protected *; }
|
|
|
|
# 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 *; }
|
|
|
|
##---------------Begin: proguard configuration for RxJava 1.x ----------
|
|
-dontwarn sun.misc.**
|
|
|
|
-keepclassmembers class rx.internal.util.unsafe.*ArrayQueue*Field* {
|
|
long producerIndex;
|
|
long consumerIndex;
|
|
}
|
|
|
|
-keepclassmembers class rx.internal.util.unsafe.BaseLinkedQueueProducerNodeRef {
|
|
rx.internal.util.atomic.LinkedQueueNode producerNode;
|
|
}
|
|
|
|
-keepclassmembers class rx.internal.util.unsafe.BaseLinkedQueueConsumerNodeRef {
|
|
rx.internal.util.atomic.LinkedQueueNode consumerNode;
|
|
}
|
|
|
|
-dontnote rx.internal.util.PlatformDependent
|
|
##---------------End: proguard configuration for RxJava 1.x ----------
|
|
|
|
##---------------Begin: proguard configuration for okhttp ----------
|
|
-keepclasseswithmembers class okhttp3.MultipartBody$Builder { *; }
|
|
##---------------End: proguard configuration for okhttp ----------
|
|
|
|
##---------------Begin: proguard configuration for kotlinx.serialization ----------
|
|
-keepattributes *Annotation*, InnerClasses
|
|
-dontnote kotlinx.serialization.** # core serialization annotations
|
|
|
|
# kotlinx-serialization-json specific. Add this if you have java.lang.NoClassDefFoundError kotlinx.serialization.json.JsonObjectSerializer
|
|
-keepclassmembers class kotlinx.serialization.json.** {
|
|
*** Companion;
|
|
}
|
|
-keepclasseswithmembers class kotlinx.serialization.json.** {
|
|
kotlinx.serialization.KSerializer serializer(...);
|
|
}
|
|
|
|
-keep,includedescriptorclasses class eu.kanade.**$$serializer { *; }
|
|
-keepclassmembers class eu.kanade.** {
|
|
*** Companion;
|
|
}
|
|
-keepclasseswithmembers class eu.kanade.** {
|
|
kotlinx.serialization.KSerializer serializer(...);
|
|
}
|
|
|
|
-keep class kotlinx.serialization.**
|
|
-keepclassmembers class kotlinx.serialization.** {
|
|
<methods>;
|
|
}
|
|
##---------------End: proguard configuration for kotlinx.serialization ----------
|
|
|
|
# XmlUtil
|
|
-keep public enum nl.adaptivity.xmlutil.EventType { *; } |