aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorLinnea Gräf <roman.graef@gmail.com>2023-10-18 16:12:19 +0200
committerGitHub <noreply@github.com>2023-10-18 16:12:19 +0200
commite0a2f5f5991048317f5c045feca084a1413c45fd (patch)
tree7e4e8795aa98e58d6df467598b82c1c53997c869 /build.gradle.kts
parent5ad2c41fb936fbb9927aa0b73c73f93f9fd1c3a0 (diff)
downloadNotEnoughUpdates-e0a2f5f5991048317f5c045feca084a1413c45fd.tar.gz
NotEnoughUpdates-e0a2f5f5991048317f5c045feca084a1413c45fd.tar.bz2
NotEnoughUpdates-e0a2f5f5991048317f5c045feca084a1413c45fd.zip
Add calculator precision option (#882)
* Add calculator precision option * Fix loading of minecraft classes from some tests
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) {