Interface VersionCatalogBuilder.LibraryAliasBuilder
- Enclosing interface:
- VersionCatalogBuilder
public static interface VersionCatalogBuilder.LibraryAliasBuilder
Allows configuring the version of a library
- Since:
- 7.0
- 
Method SummaryModifier and TypeMethodDescriptionvoidConfigures the required version for this aliasvoidversion(Action<? super MutableVersionConstraint> versionSpec) Configures the version for this aliasvoidversionRef(String versionRef) Configures this alias to use a version reference, created via theVersionCatalogBuilder.version(String, Action)method.voidDo not associate this alias to a particular version, in which case the dependency notation will just have group and artifact.
- 
Method Details- 
versionConfigures the version for this alias
- 
versionConfigures the required version for this alias
- 
versionRefConfigures this alias to use a version reference, created via theVersionCatalogBuilder.version(String, Action)method.- Parameters:
- versionRef- the version reference
 
- 
withoutVersionvoid withoutVersion()Do not associate this alias to a particular version, in which case the dependency notation will just have group and artifact.
 
-