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 {