From 8d1f99a48084566a81807a1877c3b92e53c97036 Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 1 Oct 2022 10:47:45 -0400 Subject: [PATCH] Update Proguard rules to handle serializers in all modules Fixes #8112 --- app/proguard-rules.pro | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index fd75f79ed..0f441f414 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -51,11 +51,11 @@ kotlinx.serialization.KSerializer serializer(...); } --keep,includedescriptorclasses class eu.kanade.tachiyomi.**$$serializer { *; } --keepclassmembers class eu.kanade.tachiyomi.** { +-keep,includedescriptorclasses class eu.kanade.**$$serializer { *; } +-keepclassmembers class eu.kanade.** { *** Companion; } --keepclasseswithmembers class eu.kanade.tachiyomi.** { +-keepclasseswithmembers class eu.kanade.** { kotlinx.serialization.KSerializer serializer(...); }