docs: update r8-proguard

This commit is contained in:
2026-01-19 21:52:00 +08:00
parent cf13be2d48
commit 18daa5ee93
2 changed files with 6 additions and 0 deletions

View File

@@ -7,6 +7,9 @@ If you are using the [kavaref-extension](../library/kavaref-extension) module an
``` ```
-keepattributes Signature -keepattributes Signature
-keep class * extends com.highcapable.kavaref.extension.TypeRef {
<init>(...);
}
``` ```
`TypeRef` has been annotated with `Keep`. If it doesn't work, please manually add the following rules to keep the class. `TypeRef` has been annotated with `Keep`. If it doesn't work, please manually add the following rules to keep the class.

View File

@@ -6,6 +6,9 @@
``` ```
-keepattributes Signature -keepattributes Signature
-keep class * extends com.highcapable.kavaref.extension.TypeRef {
<init>(...);
}
``` ```
`TypeRef` 已添加 `Keep` 注解,如果无效,请手动添加以下规则以保留类。 `TypeRef` 已添加 `Keep` 注解,如果无效,请手动添加以下规则以保留类。