aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 1b4a52ae..96867283 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -187,6 +187,8 @@ tasks.named("compileOneconfigJava", JavaCompile::class) {
tasks.named<Test>("test") {
useJUnitPlatform()
+ systemProperty("junit.jupiter.extensions.autodetection.enabled", "true")
+ this.javaLauncher.set(javaToolchains.launcherFor(java.toolchain))
}
tasks.named("jar", Jar::class) {