Rasmit Devkota
02/08/2021, 6:37 PMkotlinx.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?Dominaezzz
02/08/2021, 7:01 PMRasmit Devkota
02/08/2021, 7:06 PMorg.jetbrains.kotlinx:kotlinx-serialization-json:1.0.1
and the plugin
kotlin("plugin.serialization") version "1.4.10"
(Both of these are taken from the kotlinx.serialization repo)Dominaezzz
02/08/2021, 7:10 PMRasmit Devkota
02/08/2021, 7:33 PMDominaezzz
02/08/2021, 8:04 PM