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.

getRequestedCapabilities

Returns the explicitly requested capabilities for this dependency.

Prefer getCapabilitySelectors. This method is not Isolated Projects compatible.

Return

An immutable view of all explicitly requested capabilities. Updates must be done calling capabilities.

Since

5.3