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.

exclude

abstract fun exclude(excludeProperties: Map<String, String>): Configuration(source)

Adds an exclude rule to exclude transitive dependencies for all dependencies of this configuration. You can also add exclude rules per-dependency. See exclude.

Return

this

Since

0.7

Parameters

excludeProperties

the properties to define the exclude rule.