Skip to content

Commit

Permalink
secp-examples-kotlin/build.gradle: target JVM_22
Browse files Browse the repository at this point in the history
Set the target JVM version for the output JAR explicitly to JVM_22
  • Loading branch information
msgilligan committed Dec 2, 2024
1 parent 0a16475 commit 3ed7699
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions secp-examples-kotlin/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.jetbrains.kotlin.gradle.dsl.JvmTarget

plugins {
id "org.jetbrains.kotlin.jvm" version "2.0.21"
id 'application'
Expand All @@ -15,6 +17,7 @@ tasks.withType(JavaCompile).configureEach {

kotlin {
jvmToolchain(javaToolchainVersion as int)
compilerOptions.jvmTarget = JvmTarget.JVM_22
}

application {
Expand Down

0 comments on commit 3ed7699

Please sign in to comment.