Hey, I'm trying to use a @Serializable annotation on a data class for decoding JSON from a string, but it looks like the annotation isn't being applied because it gives this error:
kotlinx.serialization compiler plugin is not applied to the module, so this annotation would not be processed. Make sure that you've setup your buildscript correctly and re-import project.
When I add "org.jetbrains.kotlin.plugin.serialization" to the plugins though, it gives me different errors which I don't really understand:
java.lang.IllegalStateException: Backend Internal error: Exception during code generation
. For reference, this is in a Jetpack Compose Desktop app, if that has anything to do with the issue. Anyone know the problem?