Skip to content

Commit 30b14e3

Browse files
authored
Print the java version under test
1 parent 601e74f commit 30b14e3

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,13 @@ tasks.register('testWithJava11', Test) {
390390
dependsOn "jmhClasses"
391391

392392
}
393+
394+
test {
395+
doFirst {
396+
println "Running tests with JDK ${System.getProperty('java.version')}"
397+
}
398+
}
399+
393400
test.dependsOn testWithJava21
394401
test.dependsOn testWithJava17
395402
test.dependsOn testWithJava11

0 commit comments

Comments
 (0)