mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 16:09:21 +08:00
proguard config updates
updated proguard configuration for custom Json Adapters @FromJson/@ToJson cases
This commit is contained in:
@@ -500,6 +500,9 @@ If you are using ProGuard you might need to add the following options:
|
|||||||
-dontwarn okio.**
|
-dontwarn okio.**
|
||||||
-dontwarn javax.annotation.Nullable
|
-dontwarn javax.annotation.Nullable
|
||||||
-dontwarn javax.annotation.ParametersAreNonnullByDefault
|
-dontwarn javax.annotation.ParametersAreNonnullByDefault
|
||||||
|
-keepclasseswithmembers class * {
|
||||||
|
@com.squareup.moshi.* <methods>;
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user