mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-20 01:47:42 +01:00
[ci-skip] Skip compiling tests as well as running them when using the -Pfast flag
This commit is contained in:
@@ -13,7 +13,7 @@ internal fun Project.initToothpickTasks() {
|
|||||||
if (project.hasProperty("fast")) {
|
if (project.hasProperty("fast")) {
|
||||||
gradle.taskGraph.whenReady {
|
gradle.taskGraph.whenReady {
|
||||||
gradle.taskGraph.allTasks.filter {
|
gradle.taskGraph.allTasks.filter {
|
||||||
it.name == "test" || it.name.contains("javadoc", ignoreCase = true)
|
it.name.contains("test", ignoreCase = true) || it.name.contains("javadoc", ignoreCase = true)
|
||||||
}.forEach {
|
}.forEach {
|
||||||
it.onlyIf { false }
|
it.onlyIf { false }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user