api / org.gradle.api / Project / getDefaultTasks

getDefaultTasks

abstract fun getDefaultTasks(): MutableList<String>

Returns the names of the default tasks of this project. These are used when no tasks names are provided when starting the build.

Return
The default task names. Returns an empty list if this project has no default tasks.