mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 07:59:21 +08:00
Add ProGuard rule for JsonQualifier (#342)
This commit is contained in:
committed by
Jake Wharton
parent
da1ed8f5c3
commit
e8a2596841
@@ -523,6 +523,7 @@ If you are using ProGuard you might need to add the following options:
|
|||||||
-keepclasseswithmembers class * {
|
-keepclasseswithmembers class * {
|
||||||
@com.squareup.moshi.* <methods>;
|
@com.squareup.moshi.* <methods>;
|
||||||
}
|
}
|
||||||
|
-keep @com.squareup.moshi.JsonQualifier interface *
|
||||||
```
|
```
|
||||||
Additional rules are needed if you are using the Kotlin artifact:
|
Additional rules are needed if you are using the Kotlin artifact:
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user