Skip to content

Commit

Permalink
Add toolchain to gradle config file
Browse files Browse the repository at this point in the history
This could probably be improved, but it looks to me like it might
be needed to persuade the JDT Language Server (used by Eclipse and
VSCode) to build the project cleanly.
  • Loading branch information
dsyer committed Dec 12, 2022
1 parent c6b366d commit 159beff
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ repositories {
mavenCentral()
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
vendor = JvmVendorSpec.GRAAL_VM
}
}

tasks.withType(JavaCompile).configureEach {
options.release = 11
}
Expand Down

0 comments on commit 159beff

Please sign in to comment.