api / org.gradle.plugin.management / PluginRequest

PluginRequest

@Incubating interface PluginRequest

Contains information about a plugin that has been requested for resolution.

Since
3.5

Functions

getId

abstract fun getId(): PluginId

The ID of the plugin requested. Never null.

getModule

abstract fun getModule(): ModuleVersionSelector

The implementation module of the plugin if one was explicitly specified, otherwise null.

getVersion

abstract fun getVersion(): String

The version of the plugin if one was specified, otherwise null.