hasPlugin

abstract fun hasPlugin(id: String): Boolean(source)

Returns true if a plugin with the given ID has already been applied or is currently being applied, otherwise false.

In contrast, withPlugin and hasPlugin only consider a plugin once its application has completed.

Return

true if the plugin has been applied or is being applied

Since

2.3

Parameters

id

the plugin ID. See findPlugin for details about this parameter.