Hi! I'm currently updating a multiplatform project...
# serialization
c
Hi! I'm currently updating a multiplatform project to Kotlin 1.4. I changed the following:
Copy code
plugins {
    kotlin("multiplatform") version "1.4.0" // previously 1.3.61
    kotlin("plugin.serialization") version "1.4.0" // same
}
and:
Copy code
val serialization_version = "1.0.0-RC"
val commonMain by getting {
    dependencies {
        implementation(kotlin("stdlib-common"))
        implementation("org.jetbrains.kotlinx:kotlinx-serialization-runtime-common:$serialization_version")
        // ktor...
    }
}
// other targets, with serialization-runtime-jvm, etc
Etc. However, I'm getting this Gradle error:
Copy code
Execution failed for task ':compileKotlinJvm'.
> Could not resolve all files for configuration ':jvmCompileClasspath'.
   > Could not find org.jetbrains.kotlinx:kotlinx-serialization-runtime-common:1.0.0-RC.
     Required by: ...
   > Could not find org.jetbrains.kotlinx:kotlinx-serialization-runtime:1.0.0-RC.
     Required by: ...
Unless I read something incorrectly, I think that's what the GitHub README & the documentation on kotlinlang.org say to do... Did I do something wrong?
v
kotlinx-serialization-runtime
was renamed to
kotlinx-serialization-core
iirc https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-serialization-runtime 1.0-M1 was the last published as -runtime
c
Oh, thanks!
I wish Gradle could have a 'this artifact was renamed to' warning 😓
👍 1