For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

PluginRequest

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

Since

3.5

Functions

Link copied to clipboard
abstract fun getId(): PluginId
The ID of the plugin requested.
Link copied to clipboard
@Nullable
abstract fun getModule(): @Nullable ModuleVersionSelector
The implementation module of the plugin if one was explicitly specified, otherwise null.
Link copied to clipboard
@Nullable
abstract fun getSelector(): @Nullable ComponentSelector
A selector for the implementation of the plugin if one was explicitly specified, otherwise null.
Link copied to clipboard
@Nullable
abstract fun getVersion(): @Nullable String
The version of the plugin if one was specified, otherwise null.