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.

capabilities

abstract fun capabilities(configurationAction: Action<in ModuleDependencyCapabilitiesHandler>)(source)

Replaces the provided selector capabilities with the capabilities configured via the configuration action.

Since

6.6

Parameters

configurationAction

the configuration action