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
|
-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 *; }
|
||||||
|
|||||||
Reference in New Issue
Block a user