@Incubating public interface DependencyConstraint extends ModuleVersionSelector
Modifier and Type | Method and Description |
---|---|
void |
because(String reason)
Sets the reason why this dependency constraint should be used.
|
String |
getReason()
Returns a reason why this dependency constraint should be used, in particular with regards to its version.
|
void |
version(Action<? super MutableVersionConstraint> configureAction)
Configures the version constraint for this dependency constraint.
|
getGroup, getName, getVersion, getVersionConstraint, matchesStrictly
void version(Action<? super MutableVersionConstraint> configureAction)
configureAction
- the configuration action for the module version@Nullable String getReason()
void because(String reason)