getAllTasks

abstract fun getAllTasks(recursive: Boolean): Map<Project, Set<Task>>(source)

Returns a map of the tasks contained in this project, and optionally its subprojects.

Return

A map from project to a set of tasks.

Parameters

recursive

If true, returns the tasks of this project and its subprojects. If false, returns the tasks of just this project.