api / org.gradle.api.initialization.definition / InjectedPluginDependencies / id

id

abstract fun id(id: String): InjectedPluginDependency

Add a dependency on the plugin with the given id.

Parameters

id - the id of the plugin to depend on

Return
a mutable injected plugin dependency that can be used to further refine the dependency