Interface DependencyConstraint
- All Superinterfaces:
Dependency
Represents a constraints over all, including transitive, dependencies.
- Since:
- 4.5
-
Field Summary
Fields inherited from interface Dependency
ARCHIVES_CONFIGURATION, CLASSIFIER, DEFAULT_CONFIGURATION -
Method Summary
Modifier and TypeMethodDescriptionReturns the version constraint.voidversion(Action<? super MutableVersionConstraint> configureAction) Configures the version constraint for this dependency.Methods inherited from interface Dependency
contentEquals, copy, getGroup, getName, getVersion
-
Method Details
-
version
Configures the version constraint for this dependency.- Parameters:
configureAction- the configuration action for the module version
-
getVersionConstraint
VersionConstraint getVersionConstraint()Returns the version constraint.
-