Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 19859

Extra side-effects of Project.getTasksByName()?

$
0
0

project.getTasksByName(“doesNotExist”)

Just so you know there’s

gradle.taskGraph.whenReady { ... }

Which is an event where you can inspect the TaskExecutionGraph and perform actions based on the tasks that are, or are not, in the task graph.

There’s also Task Rules where you can create dynamic/missing tasks based on name patterns.


Viewing all articles
Browse latest Browse all 19859

Trending Articles