setExcludes

abstract fun setExcludes(excludes: Iterable<String>): CopySpec(source)

Set the allowable exclude patterns. Note that unlike #exclude(Iterable) this replaces any previously defined excludes.

See also

Pattern Format