TaskInputFilePropertyBuilder

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

Since

3.0

Functions

Link copied to clipboard
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.
Link copied to clipboard
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.
Link copied to clipboard
Marks a task property as optional.
Sets whether the task property is optional.
Link copied to clipboard
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.
Link copied to clipboard
abstract fun withNormalizer(normalizer: Class<out FileNormalizer>): TaskInputFilePropertyBuilder
Sets the normalizer to use for this property.
Link copied to clipboard

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

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