mirror of
https://github.com/mihonapp/mihon.git
synced 2026-10-16 13:48:09 -07:00
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:
Vendored
+3
-3
@@ -1,8 +1,8 @@
|
||||
-dontobfuscate
|
||||
|
||||
-keep,allowoptimization class eu.kanade.**
|
||||
-keep,allowoptimization class tachiyomi.**
|
||||
-keep,allowoptimization class mihon.**
|
||||
# Injekt reads the injected type from the generic superclass of its type tokens
|
||||
-keepattributes Signature
|
||||
-keep,allowshrinking class * extends uy.kohesive.injekt.api.FullTypeReference
|
||||
|
||||
# Keep common dependencies used in extensions
|
||||
-keep,allowoptimization class androidx.preference.** { public protected *; }
|
||||
|
||||
Reference in New Issue
Block a user