setExcludes

open fun setExcludes(excludes: Iterable<String>): SourceTask

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