Closed HalfLegend closed 4 months ago
As said in release notes https://github.com/avro-kotlin/avro4k/releases/tag/v2.0.0-RC2, you must have kotlinx-serialization-core 1.7.0-RC at least. Are you using another library like kotlinx-serialization-json or kotlinx-serialization-protobuf with an older version ?
@Chuckame yes, I am using org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.0-RC
@Chuckame Gradle changed the version!!
In my build.grdle.kts file:
api("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.0-RC")
But if I run "gradlew :{my-project}:dependencies" to check the actual version: org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.0-RC -> 1.6.3
I am finding out the reason..
Can you paste your build.gradle?
Which version of the serialization plug-in are you using? 2.0.0 too?
Hello @HalfLegend, has it been fixed ?
Closing it as there isn't any news
StackTrace:
Library version: implementation("com.github.avro-kotlin.avro4k:avro4k-core:2.0.0-RC2") kotlin version is: 2.0.0