api / org.gradle.api / Task / finalizedBy

finalizedBy

@Incubating abstract fun finalizedBy(vararg paths: Any): Task

Adds the given finalizer tasks for this task.

 task taskY { finalizedBy "taskX" } 

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

Parameters

paths - The tasks that finalize this task.

Return
the task object this method is applied to