Schnittstelle VersionCatalogBuilder.LibraryAliasBuilder
- Umschließende Schnittstelle:
VersionCatalogBuilder
public static interface VersionCatalogBuilder.LibraryAliasBuilder
Allows configuring the version of a library
- Seit:
- 7.0
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidConfigures 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.
-
Methodendetails
-
version
Configures the version for this alias -
version
Configures the required version for this alias -
versionRef
Configures this alias to use a version reference, created via theVersionCatalogBuilder.version(String, Action)method.- Parameter:
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.
-