For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

setExcludes

Set the allowable exclude patterns. Note that unlike exclude this replaces any previously defined excludes.

Return

this

Since

0.7

Parameters

excludes

an Iterable providing new exclude patterns

See also

Pattern Format