From 88bf614d89ececf8abfc5e797498b8d3441fd25d Mon Sep 17 00:00:00 2001 From: LimeGlass <16087552+TheLimeGlass@users.noreply.github.com> Date: Sun, 12 Mar 2023 13:43:16 -0600 Subject: [PATCH] Disable JUnit in build (#5501) --- build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build.gradle b/build.gradle index 6b1b3472ca4..dc18aaee871 100644 --- a/build.gradle +++ b/build.gradle @@ -72,6 +72,12 @@ task build(overwrite: true, type: ShadowJar) { from sourceSets.main.output } +// Excludes the tests for the build task. Should be using junit, junitJava17, junitJava8, skriptTest, quickTest. +// We do not want tests to run for building. That's time consuming and annoying. Especially in development. +test { + exclude '**/*' +} + task relocateShadowJar(type: ConfigureShadowRelocation) { target = tasks.shadowJar }