getId

abstract fun getId(): String(source)

The ID of the plugin.

An example of a plugin ID would be "org.gradle.java". This method returns the ID that was used to look up the plugin, for example with findPlugin or withPlugin. Core plugins can be looked up by name, so for the plugin with ID "org.gradle.java", looking it up with "java" returns "java".

Return

the ID of the plugin

Since

2.3