api / org.gradle.api.tasks / TaskInputs / getFiles

getFiles

abstract fun getFiles(): FileCollection

Returns the input files of this task.

Return
The input files. Returns an empty collection if this task has no input files.