From d21a1da524437607f71bf50423605b3b0f07e1aa Mon Sep 17 00:00:00 2001 From: Rostislav Svoboda Date: Wed, 15 Jan 2025 14:20:34 +0100 Subject: [PATCH] Replace JavaVersion.VERSION_11 with JavaVersion.VERSION_21 --- docs/src/main/asciidoc/kotlin.adoc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/src/main/asciidoc/kotlin.adoc b/docs/src/main/asciidoc/kotlin.adoc index 767e610cf8af8..65b0a83a26ff5 100644 --- a/docs/src/main/asciidoc/kotlin.adoc +++ b/docs/src/main/asciidoc/kotlin.adoc @@ -221,8 +221,8 @@ group = '...' // set your group version = '1.0.0-SNAPSHOT' java { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_21 + targetCompatibility = JavaVersion.VERSION_21 } allOpen { // <2> @@ -233,12 +233,12 @@ allOpen { // <2> } compileKotlin { - kotlinOptions.jvmTarget = JavaVersion.VERSION_11 + kotlinOptions.jvmTarget = JavaVersion.VERSION_21 kotlinOptions.javaParameters = true } compileTestKotlin { - kotlinOptions.jvmTarget = JavaVersion.VERSION_11 + kotlinOptions.jvmTarget = JavaVersion.VERSION_21 } ---- @@ -290,8 +290,8 @@ group = '...' // set your group version = "1.0.0-SNAPSHOT" java { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_21 + targetCompatibility = JavaVersion.VERSION_21 } allOpen { // <2>