You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proguard rules generated by Moshi do not end up in the output. This prevents using moshi-kotlin-codegen as a drop-in library.
Substitute manual proguard rules for anyone facing this issue:
-keepnames @com.squareup.moshi.JsonClass class *
-keep class * extends com.squareup.moshi.JsonAdapter {
public <init>(com.squareup.moshi.Moshi);
}
-if @com.squareup.moshi.JsonClass class *
-keepnames class kotlin.jvm.internal.DefaultConstructorMarker
-keepclassmembers @com.squareup.moshi.JsonClass @kotlin.Metadata class * {
synthetic <init>(...);
}
The text was updated successfully, but these errors were encountered:
First noted here: #991 (comment)
Proguard rules generated by Moshi do not end up in the output. This prevents using moshi-kotlin-codegen as a drop-in library.
Substitute manual proguard rules for anyone facing this issue:
The text was updated successfully, but these errors were encountered: