eachPlugin

abstract fun eachPlugin(rule: Action<in PluginResolveDetails>)(source)

Adds an action that is executed for each plugin that is resolved. The PluginResolveDetails parameter contains information about the plugin that was requested and allows the rule to modify which plugin will actually be resolved.