SBNTT
louiscad
tasks.all { dependsOn(yourTask) }
tasks.all { if (this != yourTask) dependsOn(yourTask) }
tasks.all { if (this.name != "customTask") dependsOn customTask }
tasks.all { if (this != tasks.getByName("customTask")) dependsOn customTask }
this != yourTask
equals
tasks.all { if (this != yourTask && yourTask !in taskDependencies.getDependencies(this)) { dependsOn(yourTask) } }
A modern programming language that makes developers happier.