Skip to content

Commit 18daa5e

Browse files
committed
docs: update r8-proguard
1 parent cf13be2 commit 18daa5e

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

docs-source/src/en/config/r8-proguard.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ If you are using the [kavaref-extension](../library/kavaref-extension) module an
77

88
```
99
-keepattributes Signature
10+
-keep class * extends com.highcapable.kavaref.extension.TypeRef {
11+
<init>(...);
12+
}
1013
```
1114

1215
`TypeRef` has been annotated with `Keep`. If it doesn't work, please manually add the following rules to keep the class.

docs-source/src/zh-cn/config/r8-proguard.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66

77
```
88
-keepattributes Signature
9+
-keep class * extends com.highcapable.kavaref.extension.TypeRef {
10+
<init>(...);
11+
}
912
```
1013

1114
`TypeRef` 已添加 `Keep` 注解,如果无效,请手动添加以下规则以保留类。

0 commit comments

Comments
 (0)