api / org.gradle.api.tasks / TaskInputs / dir

dir

abstract fun dir(dirPath: Any): TaskInputFilePropertyBuilder

Overrides CompatibilityAdapterForTaskInputs.dir

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

Parameters

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

Return
a property builder to further configure the property.