Always keep fields of annotated enums

This commit is contained in:
sergey 2018-09-27 00:52:23 +03:00
parent b7055944a9
commit b5db9fa7f1

View file

@ -9,7 +9,7 @@
# Enum field names are used by the integrated EnumJsonAdapter.
# Annotate enums with @JsonClass(generateAdapter = false) to use them with Moshi.
-keepclassmembernames @com.squareup.moshi.JsonClass class * extends java.lang.Enum {
-keepclassmembers @com.squareup.moshi.JsonClass class * extends java.lang.Enum {
<fields>;
}