Slackbot
11/17/2022, 12:56 PMVampire
11/17/2022, 1:08 PMval executeAllTasks by tasks.registering {
dependsOn(tasks)
}
CristianGM
11/17/2022, 8:21 PMVampire
11/17/2022, 9:16 PMVampire
11/18/2022, 10:41 AMVampire
11/18/2022, 10:46 AMval executeAllTasks: Provider<Task> by tasks.registering {
dependsOn(tasks.matching { it != executeAllTasks.get() })
}
but don't let that in continuously, it completely destroys task configuration avoidance.Vampire
11/18/2022, 11:00 AMexecuteAllTasks
is going to be executed. You just have to make sure to configure some tasks or exclude them when you call it, like dependencyInsight
which does not work without arguments or configuration, or tasks from the Gradle enterpries plugin if you run with build scan or have it applied.