Skip to content

Commit 8e6aaae

Browse files
committed
define javaLauncher to make the tests work
1 parent 8828fa2 commit 8e6aaae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ dependencies {
4545

4646
tasks.withType(Test) {
4747
useJUnitPlatform()
48+
javaLauncher = javaToolchains.launcherFor {
49+
languageVersion = JavaLanguageVersion.of(17)
50+
}
4851
testLogging {
4952
exceptionFormat "full"
5053
events "started", "skipped", "passed", "failed"

0 commit comments

Comments
 (0)