diff --git a/build.gradle b/build.gradle index cd19a67..79ecb17 100644 --- a/build.gradle +++ b/build.gradle @@ -81,6 +81,11 @@ tasks.withType(JavaCompile).configureEach { options.compilerArgs << "-Aquiet=true" // Suppress mixin notes } +tasks.withType(Test).configureEach { + // Test sources are NeoForge GameTests and are executed by runGameTestServer, not JUnit. + failOnNoDiscoveredTests = false +} + lombok { version = "1.18.38" } @@ -114,4 +119,4 @@ jacocoTestReport { fileTree(dir: it, exclude: '**/mixins/**') })) } -} \ No newline at end of file +}