Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix generated Kotlin enums for Moshi and Proguard/R8 #71

Closed
clementcontet opened this issue Oct 17, 2019 · 0 comments · Fixed by #82
Closed

Fix generated Kotlin enums for Moshi and Proguard/R8 #71

clementcontet opened this issue Oct 17, 2019 · 0 comments · Fixed by #82
Assignees

Comments

@clementcontet
Copy link

When generating Kotlin enums, they should be annotated with
@JsonClass(generateAdapter = false)
so that they still work with Moshi even when minification is enabled.
See square/moshi#689

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants