api / org.gradle.api.execution / TaskExecutionGraph / getDependencies

getDependencies

@Incubating abstract fun getDependencies(task: Task): MutableSet<Task>

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

Exceptions

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

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

Since
4.6