Skip to content

Commit

Permalink
Set Java Toolchain to enforce module JVM to 8
Browse files Browse the repository at this point in the history
Otherwise the value of 'org.gradle.jvm.version' is set to the JVM used during build

Fixes #702
  • Loading branch information
abelsromero committed Jan 9, 2024
1 parent 196dd88 commit 5f041e3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,12 @@ subprojects {
targetCompatibility = project.targetCompatibility
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}

project.tasks.withType(Test) {
testLogging {
afterSuite { desc, result ->
Expand Down

0 comments on commit 5f041e3

Please sign in to comment.