Merge pull request #355 from square/eric.20170925.proguard

Update ProGuard config for CheckReturnValue.
This commit is contained in:
Jake Wharton
2017-09-25 15:51:55 -04:00
committed by GitHub

View File

@@ -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>;
} }