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.

add

abstract fun add(args: Map<String, String>)(source)

Adds an exclude rule to this container. The ExcludeRule object gets created internally based on the map values passed to this method. The possible keys for the map are:

  • group - The exact name of the organization or group that should be excluded.
  • module - The exact name of the module that should be excluded

Since

0.7

Parameters

args

A map describing the exclude pattern.