Skip to content

Commit

Permalink
Could make it run on 21 - and tests fail now.
Browse files Browse the repository at this point in the history
Signed-off-by: noga <[email protected]>
  • Loading branch information
nmondal committed Dec 20, 2023
1 parent 936c759 commit dab4f52
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions quartz/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,14 @@ processResources {
expand([version: project.version, fullname: project.fullname, name: project.name])
}
}

ext {
JDK_PATH = System.getProperty("jdk")
}

tasks.withType(Test).configureEach {
if ( JDK_PATH != null ) {
println("External Java home '${JDK_PATH}' spefified for tests!")
executable = new File(JDK_PATH, 'bin/java')
}
}

0 comments on commit dab4f52

Please sign in to comment.