Skip to content

Commit

Permalink
set up gradle java toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
UpcraftLP committed Dec 31, 2024
1 parent 2588264 commit 0982dfa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ allprojects {
// if it is present.
// If you remove this line, sources will not be generated.
withSourcesJar()

toolchain {
languageVersion.set(JavaLanguageVersion.of(chenille.javaVersion))
}
}

tasks.withType<AbstractArchiveTask>().configureEach {
Expand Down

0 comments on commit 0982dfa

Please sign in to comment.