withOutputFiles

public GradleTask.Builder withOutputFiles(FileCollection outputs)

Adds the files and/or directories to the output file set for the task being built.

If all the files listed as output do not change since the previous run of the task, the task will be marked as UP-TO-DATE and skipped.

Note that a task is not skipped if its inputs are changes.

Return

the current instance of Builder

Parameters

outputs

the task output files