api / org.gradle.api.plugins / AppliedPlugin / getId

getId

abstract fun getId(): String

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