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.

getName

abstract fun getName(): String(source)

The name of the plugin.

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

If the plugin has an unqualified ID, this method will return the same value as getId.

Return

the name of the plugin

Since

2.3