Groovy Documentation

org.gradle.api.tasks
[Java] Interface TaskDependency


public interface TaskDependency

A TaskDependency represents an unordered set of tasks which a Task depends on. Gradle ensures that all the dependencies of a task are executed before the task itself is executed.

You can add a TaskDependency to a task by calling the task's Task.dependsOn method.


Groovy Documentation