From d1b3d375e6b7a1fd29bbd2b230052a9df9bde79e Mon Sep 17 00:00:00 2001 From: Sean Gilligan Date: Sun, 1 Dec 2024 14:08:41 -0800 Subject: [PATCH 1/2] secp-examples-kotlin/build.gradle: target JVM_22 Set the target JVM version for the output JAR explicitly to JVM_22 --- secp-examples-kotlin/build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/secp-examples-kotlin/build.gradle b/secp-examples-kotlin/build.gradle index 18d8e07..9da8622 100644 --- a/secp-examples-kotlin/build.gradle +++ b/secp-examples-kotlin/build.gradle @@ -1,3 +1,5 @@ +import org.jetbrains.kotlin.gradle.dsl.JvmTarget + plugins { id "org.jetbrains.kotlin.jvm" version "2.0.21" id 'application' @@ -15,6 +17,7 @@ tasks.withType(JavaCompile).configureEach { kotlin { jvmToolchain(javaToolchainVersion as int) + compilerOptions.jvmTarget = JvmTarget.JVM_22 } application { From 7acfdbfac0776f7bb404cea9553d9ac983485f46 Mon Sep 17 00:00:00 2001 From: Sean Gilligan Date: Sun, 1 Dec 2024 14:15:13 -0800 Subject: [PATCH 2/2] secp-examples-kotlin/build.gradle: Kotlin 2.1.0 --- secp-examples-kotlin/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secp-examples-kotlin/build.gradle b/secp-examples-kotlin/build.gradle index 9da8622..f3b7cab 100644 --- a/secp-examples-kotlin/build.gradle +++ b/secp-examples-kotlin/build.gradle @@ -1,7 +1,7 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget plugins { - id "org.jetbrains.kotlin.jvm" version "2.0.21" + id "org.jetbrains.kotlin.jvm" version "2.1.0" id 'application' }