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.

Capability

interface Capability(source)

Represents a capability. Capabilities are versioned. Only one component for a specific capability can be found on a dependency graph.

Since

4.7

Functions

Link copied to clipboard
abstract fun getGroup(): String
Returns the group.
Link copied to clipboard
abstract fun getName(): String
Returns the name.
Link copied to clipboard
@Nullable
abstract fun getVersion(): @Nullable String
Returns the version.