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.

getId

abstract fun getId(): String(source)

The ID of the plugin.

An example of a plugin ID would be "org.gradle.java". This method always returns the fully qualified ID, regardless of whether the fully qualified ID was used to apply the plugin or not.

This value is guaranteed to be unique, for a given org.gradle.api.plugins.PluginAware.

Return

the ID of the plugin

Since

2.3