# ignoreEmptyDirectories

abstract fun ignoreEmptyDirectories(): TaskInputFilePropertyBuilder

Ignore directories during up-to-date checks and build cache key calculations. When this is set, only the contents of directories will be considered, but not the directories themselves. Changes to empty directories, and directories that contain only empty directories, will be ignored.

#### Since

6.8

abstract fun ignoreEmptyDirectories(ignoreEmptyDirectories: Boolean): TaskInputFilePropertyBuilder

Sets whether directories should be considered during up-to-date checks and build cache key calculations. Defaults to false. See ignoreEmptyDirectories.

#### Since

6.8