Skip to content

Commit

Permalink
Disable JUnit in build (SkriptLang#5501)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLimeGlass authored Mar 12, 2023
1 parent 8b8551c commit 88bf614
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 88bf614

Please sign in to comment.