api / org.gradle.api.tasks.util / PatternFilterable / setExcludes

setExcludes

abstract fun setExcludes(excludes: MutableIterable<String>): PatternFilterable

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

Parameters

excludes - an Iterable providing new exclude patterns

Return
this

See Also
PatternFilterable