api / org.gradle.api.file / CopySpec / setIncludeEmptyDirs

setIncludeEmptyDirs

abstract fun setIncludeEmptyDirs(includeEmptyDirs: Boolean): Unit

Controls if empty target directories should be included in the copy.

Parameters

includeEmptyDirs - true if empty target directories should be included in the copy, false otherwise