# ignoreEmptyDirectories

abstract fun ignoreEmptyDirectories(): TaskInputFilePropertyBuilder(source)

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(source)

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

#### Since

6.8