proguard config updates

updated proguard configuration for custom Json Adapters @FromJson/@ToJson cases
This commit is contained in:
Oleksandr
2017-06-09 14:18:38 +02:00
committed by GitHub
parent aee3216ca1
commit bcb150eb06

View File

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