From 9c1890785a07781c9b7f16573f3212a4c6f3d83b Mon Sep 17 00:00:00 2001 From: Pavel Karateev Date: Thu, 29 Aug 2024 18:47:52 +0200 Subject: [PATCH] Fix #323 Switch to JVM 21 as required by 242 platform --- build.gradle.kts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 20204c6f..8050224e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -33,8 +33,8 @@ dependencies { } java { - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 + sourceCompatibility = JavaVersion.VERSION_21 + targetCompatibility = JavaVersion.VERSION_21 } intellijPlatform { @@ -52,7 +52,7 @@ intellijPlatform { tasks { withType { compilerOptions { - jvmTarget = JvmTarget.JVM_17 + jvmTarget = JvmTarget.JVM_21 languageVersion = KotlinVersion.DEFAULT apiVersion = KotlinVersion.KOTLIN_1_9 }