mirror of
https://github.com/fankes/moshi.git
synced 2025-10-18 23:49:21 +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