gradle
8.5

# 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.

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.