mirror of
https://github.com/fankes/moshi.git
synced 2025-12-13 01:51:01 +08:00
Update ProGuard rules for Kotlin codegen
This commit is contained in:
@@ -592,6 +592,8 @@ Additional rules are needed if you are using Kotlin:
|
|||||||
-keepclassmembers class kotlin.Metadata {
|
-keepclassmembers class kotlin.Metadata {
|
||||||
public <methods>;
|
public <methods>;
|
||||||
}
|
}
|
||||||
|
-keepnames class **JsonAdapter
|
||||||
|
-keepnames @com.squareup.moshi.JsonClass class *
|
||||||
```
|
```
|
||||||
|
|
||||||
License
|
License
|
||||||
|
|||||||
Reference in New Issue
Block a user