api / org.gradle.api / Task / setFinalizedBy

setFinalizedBy

@Incubating abstract fun setFinalizedBy(finalizedBy: MutableIterable<*>): Unit

Specifies the set of finalizer tasks for this task.

 task taskY { finalizedBy = ["taskX1", "taskX2"] } 

See here for a description of the types of objects which can be used to specify a finalizer task.

Parameters

finalizedBy - The tasks that finalize this task.