getDependencies

abstract fun getDependencies(task: Task): Set<Task>(source)

Returns the dependencies of a task which are part of the execution graph.

Return

The tasks. Returns an empty set if there are no dependent tasks.

Since

4.6

Throws

When this graph has not been populated or the task is not part of it.