From e0a2f5f5991048317f5c045feca084a1413c45fd Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Wed, 18 Oct 2023 16:12:19 +0200 Subject: Add calculator precision option (#882) * Add calculator precision option * Fix loading of minecraft classes from some tests --- build.gradle.kts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'build.gradle.kts') 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") { useJUnitPlatform() + systemProperty("junit.jupiter.extensions.autodetection.enabled", "true") + this.javaLauncher.set(javaToolchains.launcherFor(java.toolchain)) } tasks.named("jar", Jar::class) { -- cgit