https://kotlinlang.org logo
#eap
Title
c

christophsturm

07/27/2020, 10:46 AM
i updated my idea plugin to 1.4.0-rc and now its complaining that my kotlinx.serialization core is too old. I’ll just go back to the stable plugin for now. Probably a good idea to not update the plugin until the rc release cycle is complete.
l

louiscad

07/27/2020, 12:50 PM
Which version of Kotlin was your project using?
c

christophsturm

07/27/2020, 1:27 PM
M3. but i think the serialization problem is not related to m3.
l

Liliia

07/27/2020, 2:10 PM
RC release cycle is complete now. You can find the compatible versions here. It’s likely you’ll need to perform some migration to the new version of
kotlinx.serialization
, though, since it made a step on its straight way to the stable (1.0) release and has introduced some breaking changes.
👍 1
o

Oliver.O

07/27/2020, 7:17 PM
@Liliia coming from
1.4-M1
it still looks like some artifacts are missing, like:
Copy code
org.jetbrains.kotlinx:kotlinx-coroutines-core-common:1.3.8-1.4.0-rc
org.jetbrains.kotlinx:kotlinx-serialization-runtime-common:1.0-M1-1.4.0-rc
org.jetbrains.kotlinx:kotlinx-serialization-protobuf-common:1.0-M1-1.4.0-rc
c

christophsturm

07/28/2020, 7:13 AM
i think you don’t need those anymore, for example just use this in common:
Copy code
implementation("org.jetbrains.kotlinx:kotlinx-serialization-runtime:$serializationVersion")
1
l

Liliia

07/28/2020, 9:27 AM
@Oliver.O, Christoph is completely right.
o

Oliver.O

07/29/2020, 10:16 AM
@christophsturm @Liliia Thanks, I'll have a look!
2 Views