Skip to content

Commit

Permalink
Bump Java version
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt-MX authored Nov 29, 2024
1 parent 238ae1c commit 3efdb76
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,14 @@ tasks {
java {
withJavadocJar()
withSourcesJar()

toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}

kotlin {
jvmToolchain(17)
jvmToolchain(21)
}

sourceSets["main"].resources.srcDir("src/resources/")
Expand Down Expand Up @@ -120,4 +124,4 @@ fun getCurrentCommitHash(): String {
} else {
throw IllegalStateException("Failed to retrieve the commit hash.")
}
}
}

0 comments on commit 3efdb76

Please sign in to comment.