mirror of
https://github.com/fankes/moshi.git
synced 2025-10-20 00:19:21 +08:00
Merge pull request #355 from square/eric.20170925.proguard
Update ProGuard config for CheckReturnValue.
This commit is contained in:
@@ -518,8 +518,7 @@ ProGuard
|
|||||||
If you are using ProGuard you might need to add the following options:
|
If you are using ProGuard you might need to add the following options:
|
||||||
```
|
```
|
||||||
-dontwarn okio.**
|
-dontwarn okio.**
|
||||||
-dontwarn javax.annotation.Nullable
|
-dontwarn javax.annotation.**
|
||||||
-dontwarn javax.annotation.ParametersAreNonnullByDefault
|
|
||||||
-keepclasseswithmembers class * {
|
-keepclasseswithmembers class * {
|
||||||
@com.squareup.moshi.* <methods>;
|
@com.squareup.moshi.* <methods>;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user