Always keep fields of annotated enums
This commit is contained in:
parent
b7055944a9
commit
b5db9fa7f1
1 changed files with 1 additions and 1 deletions
|
@ -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>;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue