api / org.gradle / StartParameter / setTaskRequests

setTaskRequests

@Incubating open fun setTaskRequests(taskParameters: MutableIterable<TaskExecutionRequest>): Unit

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

Parameters

taskParameters - the tasks to execute in this build.