Skip to content

Commit b4bf182

Browse files
committed
Raise Require-Kotlin-Version to 2.0.0-RC1
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.
1 parent 022ba26 commit b4bf182

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ kotlin {
3232
3333
Implementation-Version is used to determine whether runtime library supports a given plugin feature (e.g. value classes serialization
3434
in Kotlin 1.x may require runtime library version 1.y to work).
35-
Compiler plugin may enable or disable features by looking on Implementation-Version.
35+
Compiler plugin may enable or disable features by looking at Implementation-Version.
3636
3737
Require-Kotlin-Version is used to determine whether runtime library with new features can work with old compilers.
3838
In ideal case, its value should always be 1.4, but some refactorings (e.g. adding a method to the Encoder interface)
@@ -63,7 +63,7 @@ tasks.withType<Jar>().named(kotlin.jvm().artifactsTaskName) {
6363
manifest {
6464
attributes(
6565
"Implementation-Version" to version,
66-
"Require-Kotlin-Version" to "1.4.30-M1",
66+
"Require-Kotlin-Version" to "2.0.0-RC1",
6767
)
6868
}
6969
}

0 commit comments

Comments
 (0)