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 78cc2ed commit 0f38a5a
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 @@ -69,12 +69,13 @@ repositories {
maven("https://jitpack.io")
}

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

tasks {

withType<Test> {
useJUnitPlatform()
Expand Down

0 comments on commit 0f38a5a

Please sign in to comment.