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.

ExcludeRule

interface ExcludeRule(source)

An ExcludeRule is used to describe transitive dependencies that should be excluded when resolving dependencies.

Since

0.7

Properties

Link copied to clipboard
val GROUP_KEY: String = "group"
The group key.
Link copied to clipboard
val MODULE_KEY: String = "module"
The module key.

Functions

Link copied to clipboard
abstract fun getGroup(): String
The exact name of the organization or group that should be excluded.
Link copied to clipboard
abstract fun getModule(): String
The exact name of the module that should be excluded.