Skip to content

Commit

Permalink
Setter JVM Toolchain version
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsteinsland committed Nov 12, 2024
1 parent c83c887 commit 12eb539
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@ dependencies {
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

tasks {
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
kotlin {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of("21"))
}
}

tasks {

named<Jar>("jar") {
archiveBaseName.set("app")
Expand Down

0 comments on commit 12eb539

Please sign in to comment.