diff --git a/secp-examples-kotlin/build.gradle b/secp-examples-kotlin/build.gradle index 18d8e07..f3b7cab 100644 --- a/secp-examples-kotlin/build.gradle +++ b/secp-examples-kotlin/build.gradle @@ -1,5 +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' } @@ -15,6 +17,7 @@ tasks.withType(JavaCompile).configureEach { kotlin { jvmToolchain(javaToolchainVersion as int) + compilerOptions.jvmTarget = JvmTarget.JVM_22 } application {