api / org.gradle.api.tasks / CompatibilityAdapterForTaskInputs / dir

dir

abstract fun dir(path: Any): TaskInputs

Registers an input directory hierarchy. All files found under the given directory are treated as input files for this task.

Parameters

path - The directory. The path is evaluated as per org.gradle.api.Project#file(Object).

Return
this