Interface VersionCatalogBuilder.LibraryAliasBuilder
-
- Enclosing interface:
- VersionCatalogBuilder
public static interface VersionCatalogBuilder.LibraryAliasBuilderAllows configuring the version of a library- Since:
- 7.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidversion(java.lang.String version)Configures the required version for this aliasvoidversion(Action<? super MutableVersionConstraint> versionSpec)Configures the version for this aliasvoidversionRef(java.lang.String versionRef)Configures this alias to use a version reference, created via theVersionCatalogBuilder.version(String, Action)method.voidwithoutVersion()Do not associate this alias to a particular version, in which case the dependency notation will just have group and artifact.
-
-
-
Method Detail
-
version
void version(Action<? super MutableVersionConstraint> versionSpec)
Configures the version for this alias
-
version
void version(java.lang.String version)
Configures the required version for this alias
-
versionRef
void versionRef(java.lang.String versionRef)
Configures this alias to use a version reference, created via theVersionCatalogBuilder.version(String, Action)method.- Parameters:
versionRef- the version reference
-
withoutVersion
void withoutVersion()
Do not associate this alias to a particular version, in which case the dependency notation will just have group and artifact.
-
-