mirror of
https://github.com/fankes/moshi.git
synced 2025-10-18 23:49:21 +08:00
Update proguard rules for R8 3.1
R8 3.1 in full mode have made improvements to annotation removal. Current rules are not enough to ensure that JsonQualifier annotatated class are kept. See https://issuetracker.google.com/issues/206656057
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
@com.squareup.moshi.* <methods>;
|
||||
}
|
||||
|
||||
-keep @com.squareup.moshi.JsonQualifier interface *
|
||||
-keep @com.squareup.moshi.JsonQualifier @interface *
|
||||
|
||||
# Enum field names are used by the integrated EnumJsonAdapter.
|
||||
# values() is synthesized by the Kotlin compiler and is used by EnumJsonAdapter indirectly
|
||||
|
Reference in New Issue
Block a user