Skip to content

Commit

Permalink
Raise Require-Kotlin-Version to 2.0.0-RC1
Browse files Browse the repository at this point in the history
because changes related to serializer<T>() when T is non-sealed interface
should be synchronized in runtime and plugin intrinsic implementation.

See #2565 and JetBrains/kotlin@7c8c65d for details.
  • Loading branch information
sandwwraith committed May 16, 2024
1 parent 022ba26 commit b4bf182
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ kotlin {
Implementation-Version is used to determine whether runtime library supports a given plugin feature (e.g. value classes serialization
in Kotlin 1.x may require runtime library version 1.y to work).
Compiler plugin may enable or disable features by looking on Implementation-Version.
Compiler plugin may enable or disable features by looking at Implementation-Version.
Require-Kotlin-Version is used to determine whether runtime library with new features can work with old compilers.
In ideal case, its value should always be 1.4, but some refactorings (e.g. adding a method to the Encoder interface)
Expand Down Expand Up @@ -63,7 +63,7 @@ tasks.withType<Jar>().named(kotlin.jvm().artifactsTaskName) {
manifest {
attributes(
"Implementation-Version" to version,
"Require-Kotlin-Version" to "1.4.30-M1",
"Require-Kotlin-Version" to "2.0.0-RC1",
)
}
}
Expand Down

0 comments on commit b4bf182

Please sign in to comment.