api / org.gradle.plugin.management / PluginResolveDetails

PluginResolveDetails

@Incubating interface PluginResolveDetails

Allows plugin resolution rules to inspect a requested plugin and modify which target plugin will be used.

Since
3.5

Functions

getRequested

abstract fun getRequested(): PluginRequest

Get the plugin that was requested.

getTarget

abstract fun getTarget(): PluginRequest

The target plugin request to use.

useModule

abstract fun useModule(notation: Any): Unit

Sets the implementation module to use for this plugin.

useVersion

abstract fun useVersion(version: String): Unit

Sets the version of the plugin to use.