From 24a83d0f8253f068992e59182ea3ffb6a91c73c2 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Thu, 13 Jul 2023 12:15:06 +0200 Subject: [PATCH] Update Kotlin to 1.9.0 --- bom/application/pom.xml | 2 +- build-parent/pom.xml | 2 +- .../src/test/java/io/quarkus/gradle/QuarkusPluginTest.java | 2 +- devtools/gradle/gradle/libs.versions.toml | 5 +++-- independent-projects/arc/pom.xml | 2 +- .../conditional-dependencies-kotlin/build.gradle.kts | 4 ++-- 6 files changed, 9 insertions(+), 8 deletions(-) diff --git a/bom/application/pom.xml b/bom/application/pom.xml index 2b3f5fa28b0fa..69734b28d84fe 100644 --- a/bom/application/pom.xml +++ b/bom/application/pom.xml @@ -159,7 +159,7 @@ 2.14.0 2.2.0 1.0.0 - 1.8.22 + 1.9.0 1.7.1 0.27.0 1.5.1 diff --git a/build-parent/pom.xml b/build-parent/pom.xml index 3e534a1e6a12c..41dd1d51e662b 100644 --- a/build-parent/pom.xml +++ b/build-parent/pom.xml @@ -21,7 +21,7 @@ 3.11.0 - 1.8.22 + 1.9.0 1.8.10 2.13.8 4.8.1 diff --git a/devtools/gradle/gradle-application-plugin/src/test/java/io/quarkus/gradle/QuarkusPluginTest.java b/devtools/gradle/gradle-application-plugin/src/test/java/io/quarkus/gradle/QuarkusPluginTest.java index f5f6a34471cb1..aaeb75459ec1e 100644 --- a/devtools/gradle/gradle-application-plugin/src/test/java/io/quarkus/gradle/QuarkusPluginTest.java +++ b/devtools/gradle/gradle-application-plugin/src/test/java/io/quarkus/gradle/QuarkusPluginTest.java @@ -105,7 +105,7 @@ public void shouldReturnMultipleOutputSourceDirectories() { @Test public void shouldNotFailOnProjectDependenciesWithoutMain(@TempDir Path testProjectDir) throws IOException { - var kotlinVersion = System.getProperty("kotlin_version", "1.8.22"); + var kotlinVersion = System.getProperty("kotlin_version", "1.9.0"); var settingFile = testProjectDir.resolve("settings.gradle.kts"); var mppProjectDir = testProjectDir.resolve("mpp"); var quarkusProjectDir = testProjectDir.resolve("quarkus"); diff --git a/devtools/gradle/gradle/libs.versions.toml b/devtools/gradle/gradle/libs.versions.toml index e17526e4c3390..75882ef956b54 100644 --- a/devtools/gradle/gradle/libs.versions.toml +++ b/devtools/gradle/gradle/libs.versions.toml @@ -1,8 +1,9 @@ [versions] plugin-publish = "1.2.0" -# updating Kotlin here makes QuarkusPluginTest > shouldNotFailOnProjectDependenciesWithoutMain(Path) fail -kotlin = "1.8.10" +# updating Kotlin here might make QuarkusPluginTest > shouldNotFailOnProjectDependenciesWithoutMain(Path) fail +# if so, you can let the old version +kotlin = "1.9.0" smallrye-config = "3.3.0" junit5 = "5.9.3" diff --git a/independent-projects/arc/pom.xml b/independent-projects/arc/pom.xml index 2f69b10529c57..cd28b5cad8073 100644 --- a/independent-projects/arc/pom.xml +++ b/independent-projects/arc/pom.xml @@ -54,7 +54,7 @@ 3.24.2 5.9.3 - 1.8.22 + 1.9.0 1.7.1 5.3.1 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 6f7310100913a..a4b08923c3a60 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.8.22" - kotlin("plugin.allopen") version "1.8.22" + kotlin("jvm") version "1.9.0" + kotlin("plugin.allopen") version "1.9.0" id("io.quarkus") }