# TaskInputFilePropertyBuilder

interface TaskInputFilePropertyBuilder : TaskFilePropertyBuilder

Describes an input property of a task that contains zero or more files.

#### Since

3.0

## Functions

ignoreEmptyDirectories
Link copied to clipboard
abstract fun ignoreEmptyDirectories(): TaskInputFilePropertyBuilder
Ignore directories during up-to-date checks and build cache key calculations.
abstract fun ignoreEmptyDirectories(ignoreEmptyDirectories: Boolean): TaskInputFilePropertyBuilder
Sets whether directories should be considered during up-to-date checks and build cache key calculations.
normalizeLineEndings
Link copied to clipboard
abstract fun normalizeLineEndings(): TaskInputFilePropertyBuilder
Normalize line endings in text files during up-to-date checks and build cache key calculations.
abstract fun normalizeLineEndings(normalizeLineEndings: Boolean): TaskInputFilePropertyBuilder
Sets whether line endings should be normalized during up-to-date checks and build cache key calculations.
optional
Link copied to clipboard
abstract fun optional(): TaskInputFilePropertyBuilder
Marks a task property as optional.
abstract fun optional(optional: Boolean): TaskInputFilePropertyBuilder
Sets whether the task property is optional.
skipWhenEmpty
Link copied to clipboard
abstract fun skipWhenEmpty(): TaskInputFilePropertyBuilder
Skip executing the task if the property contains no files.
abstract fun skipWhenEmpty(skipWhenEmpty: Boolean): TaskInputFilePropertyBuilder
Sets whether executing the task should be skipped if the property contains no files.
withNormalizer
Link copied to clipboard
abstract fun withNormalizer(normalizer: Class<out FileNormalizer>): TaskInputFilePropertyBuilder
Sets the normalizer to use for this property.
withNormalizer
Link copied to clipboard
inline fun TaskInputFilePropertyBuilder. withNormalizer(normalizer: KClass<out FileNormalizer>): TaskInputFilePropertyBuilder

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.tasks.TaskInputFilePropertyBuilder.withNormalizer.

withPathSensitivity
Link copied to clipboard
abstract fun withPathSensitivity(sensitivity: PathSensitivity): TaskInputFilePropertyBuilder
Sets which part of the path of files should be considered during up-to-date checks and build cache key calculations.
withPropertyName
Link copied to clipboard
abstract fun withPropertyName(propertyName: String): TaskInputFilePropertyBuilder
Sets the name for this property.