# setFinalizedBy

open fun setFinalizedBy(finalizedByTasks: Iterable<out Any>)(source)

Specifies the set of finalizer tasks for this task.

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

Content copied to clipboard

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

#### Since

1.7

#### Parameters

finalizedBy

The tasks that finalize this task.