api / org.gradle.api.execution / TaskExecutionGraph / getAllTasks

getAllTasks

abstract fun getAllTasks(): MutableList<Task>

Returns the tasks which are included in the execution plan. The tasks are returned in the order that they will be executed.

Exceptions

IllegalStateException - When this graph has not been populated.

Return
The tasks. Returns an empty set if no tasks are to be executed.