Let R8 shrink and optimize app code

Names stay as they are, since -dontobfuscate is unchanged. Injekt reads the injected type from the generic superclass of its type tokens, so those keep their Signature attribute.
This commit is contained in:
AntsyLich
2026-10-07 00:53:48 +06:00
parent 6a329386c2
commit 06d6128116
+3 -3
View File
@@ -1,8 +1,8 @@
-dontobfuscate -dontobfuscate
-keep,allowoptimization class eu.kanade.** # Injekt reads the injected type from the generic superclass of its type tokens
-keep,allowoptimization class tachiyomi.** -keepattributes Signature
-keep,allowoptimization class mihon.** -keep,allowshrinking class * extends uy.kohesive.injekt.api.FullTypeReference
# Keep common dependencies used in extensions # Keep common dependencies used in extensions
-keep,allowoptimization class androidx.preference.** { public protected *; } -keep,allowoptimization class androidx.preference.** { public protected *; }