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.

PluginId

interface PluginId(source)

A description of a plugin.

Since

3.5

Functions

Link copied to clipboard
abstract fun getId(): String
The fully qualified plugin ID.
Link copied to clipboard
abstract fun getName(): String
The plugin name without the namespace.
Link copied to clipboard
@Nullable
abstract fun getNamespace(): @Nullable String
The namespace of the plugin or null if the ID contains no ..
Link copied to clipboard
abstract fun withNamespace(namespace: String): PluginId
Takes this unqualified plugin ID and adds a namespace.