CLOVIS
08/25/2020, 1:34 PMplugins {
kotlin("multiplatform") version "1.4.0" // previously 1.3.61
kotlin("plugin.serialization") version "1.4.0" // same
}
and:
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:
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?Vampire
08/25/2020, 1:41 PMkotlinx-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 -runtimeVampire
08/25/2020, 1:41 PMCLOVIS
08/25/2020, 1:41 PMCLOVIS
08/25/2020, 1:42 PM