From c9e53a47c24ef64eb7dc7a58c241dee2d99d8373 Mon Sep 17 00:00:00 2001 From: Justin Lee Date: Tue, 12 Oct 2021 15:55:02 -0400 Subject: [PATCH] Bump kotlin.version from 1.5.31 to 1.6.0 --- bom/application/pom.xml | 2 +- build-parent/pom.xml | 3 +- .../runtime/pom.xml | 45 +++++-------------- independent-projects/tools/pom.xml | 2 +- .../build.gradle | 7 --- .../web/build.gradle.kts | 6 --- .../resources/projects/classic-kotlin/pom.xml | 2 +- .../projects/kotlin-compiler-args/pom.xml | 2 +- 8 files changed, 17 insertions(+), 52 deletions(-) diff --git a/bom/application/pom.xml b/bom/application/pom.xml index 90122214331984..cdaf8551c65916 100644 --- a/bom/application/pom.xml +++ b/bom/application/pom.xml @@ -147,7 +147,7 @@ 2.17.81 2.41.0 1.4.2 - 1.5.31 + 1.6.0 1.5.2 2.6.0 0.10.0 diff --git a/build-parent/pom.xml b/build-parent/pom.xml index 61c12e43755d65..357ea73d22593b 100644 --- a/build-parent/pom.xml +++ b/build-parent/pom.xml @@ -20,7 +20,7 @@ 3.8.1 - 1.5.31 + 1.6.0 1.5.31 2.12.13 4.4.0 @@ -873,7 +873,6 @@ dokka - (,16) src/main/kotlin diff --git a/extensions/panache/hibernate-orm-panache-kotlin/runtime/pom.xml b/extensions/panache/hibernate-orm-panache-kotlin/runtime/pom.xml index 5e45ec47cbcc8c..dfbfcd17a8bc4a 100644 --- a/extensions/panache/hibernate-orm-panache-kotlin/runtime/pom.xml +++ b/extensions/panache/hibernate-orm-panache-kotlin/runtime/pom.xml @@ -115,6 +115,18 @@ test-compile + + kapt + generate-sources + + kapt + + + + org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor + + + @@ -173,37 +185,4 @@ - - - - kapt-not-on-jdk16 - - (,16) - - - - - org.jetbrains.kotlin - kotlin-maven-plugin - - - kapt - generate-sources - - kapt - - - - org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor - - - - - - - - - diff --git a/independent-projects/tools/pom.xml b/independent-projects/tools/pom.xml index 1d406bac836b3b..d7422bdbfe1bb3 100644 --- a/independent-projects/tools/pom.xml +++ b/independent-projects/tools/pom.xml @@ -33,7 +33,7 @@ 3.8.1 - 1.5.31 + 1.6.0 2.12.13 4.4.0 diff --git a/integration-tests/gradle/src/main/resources/basic-kotlin-application-project/build.gradle b/integration-tests/gradle/src/main/resources/basic-kotlin-application-project/build.gradle index e53e58df7e9d11..6a3efd26bb298e 100644 --- a/integration-tests/gradle/src/main/resources/basic-kotlin-application-project/build.gradle +++ b/integration-tests/gradle/src/main/resources/basic-kotlin-application-project/build.gradle @@ -24,10 +24,3 @@ dependencies { compileJava { options.compilerArgs << '-parameters' } - -// This is a fix as kotlin 1.5.31 does not support Java 17 yet -if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) { - tasks.quarkusDev { - compilerArgs = ["-jvm-target", "16"] - } -} diff --git a/integration-tests/gradle/src/main/resources/multi-module-kotlin-project/web/build.gradle.kts b/integration-tests/gradle/src/main/resources/multi-module-kotlin-project/web/build.gradle.kts index ddec2b2c8e6571..dd4627b9f7240f 100644 --- a/integration-tests/gradle/src/main/resources/multi-module-kotlin-project/web/build.gradle.kts +++ b/integration-tests/gradle/src/main/resources/multi-module-kotlin-project/web/build.gradle.kts @@ -3,12 +3,6 @@ plugins { kotlin("jvm") } -// This is a fix as kotlin 1.5.31 does not support Java 17 yet -if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) { - tasks.quarkusDev { - compilerArgs = listOf("-jvm-target", "16") - } -} dependencies { implementation(project(":port")) implementation(project(":domain")) diff --git a/integration-tests/kotlin/src/test/resources/projects/classic-kotlin/pom.xml b/integration-tests/kotlin/src/test/resources/projects/classic-kotlin/pom.xml index 7aa2420bcc9f68..6bda5fbaf4bec5 100644 --- a/integration-tests/kotlin/src/test/resources/projects/classic-kotlin/pom.xml +++ b/integration-tests/kotlin/src/test/resources/projects/classic-kotlin/pom.xml @@ -12,7 +12,7 @@ 11 UTF-8 11 - 1.5.31 + 1.6.0 diff --git a/integration-tests/kotlin/src/test/resources/projects/kotlin-compiler-args/pom.xml b/integration-tests/kotlin/src/test/resources/projects/kotlin-compiler-args/pom.xml index d612e21ae1d234..79f0ee7d75cbba 100644 --- a/integration-tests/kotlin/src/test/resources/projects/kotlin-compiler-args/pom.xml +++ b/integration-tests/kotlin/src/test/resources/projects/kotlin-compiler-args/pom.xml @@ -12,7 +12,7 @@ 11 UTF-8 11 - 1.5.31 + 1.6.0