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.

notForConfigurations

abstract fun notForConfigurations(@Nullable configurationNames: Array<@Nullable String>)(source)

Declares that this repository should not be used for a specific set of configurations. Defaults to any configuration

Since

5.1

Parameters

configurationNames

the names of the configurations the repository will not be used for