For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

finalizedBy

abstract fun finalizedBy(paths: Array<Any>): Task(source)

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.

Return

the task object this method is applied to

Since

1.7

Parameters

paths

The tasks that finalize this task.