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.

PluginAliasBuilder

Allows configuring the version of a plugin

Since

7.2

Functions

Link copied to clipboard
abstract fun version(version: String)
Configures the required version for this alias
abstract fun version(versionSpec: Action<in MutableVersionConstraint>)
Configures the version for this alias
Link copied to clipboard
abstract fun versionRef(versionRef: String)
Configures this alias to use a version reference, created via the version method.