From 6286a11d413411a38e68c41ccd19e52cf47936c2 Mon Sep 17 00:00:00 2001 From: Andreas Eberle Date: Thu, 28 Nov 2024 15:32:33 +0100 Subject: [PATCH] Update Kotlin to version 2.1.0 --- bom/application/pom.xml | 4 ++-- build-parent/pom.xml | 2 +- devtools/gradle/gradle/libs.versions.toml | 2 +- extensions/schema-registry/confluent/pom.xml | 2 +- independent-projects/arc/pom.xml | 4 ++-- .../conditional-dependencies-kotlin/build.gradle.kts | 4 ++-- .../main/resources/grpc-multi-module-no-java/build.gradle.kts | 4 ++-- integration-tests/kafka-json-schema-apicurio2/pom.xml | 2 +- .../resteasy/reactive/kotlin/CountryNameMessageTransformer.kt | 2 +- .../resteasy/reactive/kotlin/CountryNamePayloadTransformer.kt | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-) diff --git a/bom/application/pom.xml b/bom/application/pom.xml index fe6e6f038963b..53924fa251fb3 100644 --- a/bom/application/pom.xml +++ b/bom/application/pom.xml @@ -150,8 +150,8 @@ 3.0.0 3.1.0 1.0.0 - 2.0.21 - 1.9.0 + 2.1.0 + 1.10.0 0.27.0 1.7.3 4.1.4 diff --git a/build-parent/pom.xml b/build-parent/pom.xml index dfbc9cd07aa5c..0523eaca5bf1a 100644 --- a/build-parent/pom.xml +++ b/build-parent/pom.xml @@ -20,7 +20,7 @@ ${version.compiler.plugin} - 2.0.21 + 2.1.0 2.0.0 2.13.12 4.9.2 diff --git a/devtools/gradle/gradle/libs.versions.toml b/devtools/gradle/gradle/libs.versions.toml index 5508dac5d2176..b91e0af650620 100644 --- a/devtools/gradle/gradle/libs.versions.toml +++ b/devtools/gradle/gradle/libs.versions.toml @@ -2,7 +2,7 @@ plugin-publish = "1.3.0" # updating Kotlin here makes QuarkusPluginTest > shouldNotFailOnProjectDependenciesWithoutMain(Path) fail -kotlin = "2.0.21" +kotlin = "2.1.0" smallrye-config = "3.10.2" junit5 = "5.10.5" diff --git a/extensions/schema-registry/confluent/pom.xml b/extensions/schema-registry/confluent/pom.xml index 7047a0b289c9f..985e7e5d6c3ac 100644 --- a/extensions/schema-registry/confluent/pom.xml +++ b/extensions/schema-registry/confluent/pom.xml @@ -25,7 +25,7 @@ org.jetbrains.kotlin kotlin-scripting-compiler-embeddable - 2.0.21 + 2.1.0 org.json diff --git a/independent-projects/arc/pom.xml b/independent-projects/arc/pom.xml index 58403e9f51699..fc04bd4e4d847 100644 --- a/independent-projects/arc/pom.xml +++ b/independent-projects/arc/pom.xml @@ -52,8 +52,8 @@ 3.27.0 5.10.5 - 2.0.21 - 1.9.0 + 2.1.0 + 1.10.0 5.14.2 1.7.0.Final diff --git a/integration-tests/gradle/src/main/resources/conditional-dependencies-kotlin/build.gradle.kts b/integration-tests/gradle/src/main/resources/conditional-dependencies-kotlin/build.gradle.kts index 5dea13880a16b..bd98910b42c2a 100644 --- a/integration-tests/gradle/src/main/resources/conditional-dependencies-kotlin/build.gradle.kts +++ b/integration-tests/gradle/src/main/resources/conditional-dependencies-kotlin/build.gradle.kts @@ -1,6 +1,6 @@ plugins { - kotlin("jvm") version "1.9.23" - kotlin("plugin.allopen") version "1.9.23" + kotlin("jvm") version "2.1.0" + kotlin("plugin.allopen") version "2.1.0" id("io.quarkus") } diff --git a/integration-tests/gradle/src/main/resources/grpc-multi-module-no-java/build.gradle.kts b/integration-tests/gradle/src/main/resources/grpc-multi-module-no-java/build.gradle.kts index 8a0bba94937f6..b50a55044f5d9 100644 --- a/integration-tests/gradle/src/main/resources/grpc-multi-module-no-java/build.gradle.kts +++ b/integration-tests/gradle/src/main/resources/grpc-multi-module-no-java/build.gradle.kts @@ -1,6 +1,6 @@ plugins { - kotlin("jvm") version "2.0.21" - kotlin("plugin.allopen") version "2.0.21" + kotlin("jvm") version "2.1.0" + kotlin("plugin.allopen") version "2.1.0" id("io.quarkus") apply false } diff --git a/integration-tests/kafka-json-schema-apicurio2/pom.xml b/integration-tests/kafka-json-schema-apicurio2/pom.xml index 4d71d31b99797..95ae197726e54 100644 --- a/integration-tests/kafka-json-schema-apicurio2/pom.xml +++ b/integration-tests/kafka-json-schema-apicurio2/pom.xml @@ -23,7 +23,7 @@ org.jetbrains.kotlin kotlin-scripting-compiler-embeddable - 2.0.21 + 2.1.0 org.json diff --git a/integration-tests/resteasy-reactive-kotlin/standard/src/main/kotlin/io/quarkus/it/resteasy/reactive/kotlin/CountryNameMessageTransformer.kt b/integration-tests/resteasy-reactive-kotlin/standard/src/main/kotlin/io/quarkus/it/resteasy/reactive/kotlin/CountryNameMessageTransformer.kt index 0bbc2b44d7094..16d2f926e70d9 100644 --- a/integration-tests/resteasy-reactive-kotlin/standard/src/main/kotlin/io/quarkus/it/resteasy/reactive/kotlin/CountryNameMessageTransformer.kt +++ b/integration-tests/resteasy-reactive-kotlin/standard/src/main/kotlin/io/quarkus/it/resteasy/reactive/kotlin/CountryNameMessageTransformer.kt @@ -13,6 +13,6 @@ class CountryNameMessageTransformer { @Outgoing("countries-t2-out") suspend fun transform(input: Message): Message { delay(100) - return input.withPayload(input.payload.name.toLowerCase()) + return input.withPayload(input.payload.name.lowercase()) } } diff --git a/integration-tests/resteasy-reactive-kotlin/standard/src/main/kotlin/io/quarkus/it/resteasy/reactive/kotlin/CountryNamePayloadTransformer.kt b/integration-tests/resteasy-reactive-kotlin/standard/src/main/kotlin/io/quarkus/it/resteasy/reactive/kotlin/CountryNamePayloadTransformer.kt index 62ec56690c6e5..7a937f5fba6fb 100644 --- a/integration-tests/resteasy-reactive-kotlin/standard/src/main/kotlin/io/quarkus/it/resteasy/reactive/kotlin/CountryNamePayloadTransformer.kt +++ b/integration-tests/resteasy-reactive-kotlin/standard/src/main/kotlin/io/quarkus/it/resteasy/reactive/kotlin/CountryNamePayloadTransformer.kt @@ -12,6 +12,6 @@ class CountryNamePayloadTransformer { @Outgoing("countries-t1-out") suspend fun transform(country: Country): Country { delay(100) - return Country(country.name.toUpperCase(), country.capital) + return Country(country.name.lowercase(), country.capital) } }