api / org.gradle / StartParameter / setTaskNames

setTaskNames

open fun setTaskNames(taskNames: MutableIterable<String>): Unit

Sets the tasks to execute in this build. Set to an empty list, or null, to execute the default tasks for the project. The tasks are executed in the order provided, subject to dependency between the tasks.

Parameters

taskNames - the names of the tasks to execute in this build.