# Interface VersionCatalogBuilder.PluginAliasBuilder

Enclosing interface:
  `VersionCatalogBuilder`

public static interface VersionCatalogBuilder.PluginAliasBuilder
Allows configuring the version of a plugin

Since:
  7.2

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `version(String version)`
  Configures the required version for this alias
  `void`
  `version(Action<? super MutableVersionConstraint> versionSpec)`
  Configures the version for this alias
  `void`
  `versionRef(String versionRef)`
  Configures this alias to use a version reference, created via the `VersionCatalogBuilder.version(String, Action)` method.

- ## Method Details

  - ### version

    void version(Action<? super MutableVersionConstraint> versionSpec)
    Configures the version for this alias
    Since:
      7.2

  - ### version

    void version(String version)
    Configures the required version for this alias
    Since:
      7.2

  - ### versionRef

    void versionRef(String versionRef)
    Configures this alias to use a version reference, created via the `VersionCatalogBuilder.version(String, Action)` method.
    Parameters:
      `versionRef` - the version reference
    Since:
      7.2