Hi All, I was just wondering if anyone has faced t...
# eap
b
Hi All, I was just wondering if anyone has faced the build process going in a loop when using kotlinx.serialization?
message has been deleted
Only seems to happen when I use the package in my code. After just syncing gradle and not using the package in my code it works. But if i add
Copy code
import kotlinx.serialization.*

@Serializable
data class MyModel(val a: Int)
It causes the build to hang
@Fudge 🙂
f
I think this is a Compose problem
b
I can post my build.gradle files if that would help?
a
Can you please create an issue at http://kotl.in/issue with a sample project to reproduce if possible.
b
Hey @Alexey Belkov [JB], would raising it on the Github repo be okay? Or would you prefer the kotlin issue tracker?
a
Please use the issue tracker: http://kotl.in/issue
b
Hey @Alexey Belkov [JB] I worked out the issue, “Starting from Kotlin 1.3-RC2, serialization plugin is shipped with the rest of Kotlin compiler distribution, and the IDEA plugin is bundled into the Kotlin plugin.” from the README.md. I was including
id 'org.jetbrains.kotlin.plugin.serialization' version '1.4.0-rc'
in the plugins section of my build.gradle file. Removing it resolved my issue. Is this something that having a bug would be helpful for? The README could be updated to remove this from the configuration instructions or more clearly mention it’s not required.
👍 1
a