toggle menu
gradle
8.10
API
switch theme
search in API
gradle
/
org.gradle.api.initialization.dsl
/
VersionCatalogBuilder
/
PluginAliasBuilder
Plugin
Alias
Builder
API
interface
PluginAliasBuilder
(
source
)
Allows configuring the version of a plugin
Since
7.2
Members
Functions
version
Link copied to clipboard
API
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
version
Ref
Link copied to clipboard
API
abstract
fun
versionRef
(
versionRef
:
String
)
Configures this alias to use a version reference, created via the
version
method.