SELF
- type extending this interfacepublic interface DependencyMetadata<SELF extends DependencyMetadata>
Modifier and Type | Method and Description |
---|---|
SELF |
because(String reason)
Adjust the reason why this dependency should be selected.
|
String |
getGroup()
Returns the group of the module that is targeted by this dependency or dependency constraint.
|
String |
getName()
Returns the name of the module that is targeted by this dependency or dependency constraint.
|
String |
getReason()
Returns the reason why this dependency should be selected.
|
VersionConstraint |
getVersionConstraint()
Returns the version of the module that is targeted by this dependency or dependency constraint.
|
SELF |
version(Action<? super MutableVersionConstraint> configureAction)
Adjust the version constraints of the dependency or dependency constraint.
|
String getGroup()
String getName()
VersionConstraint getVersionConstraint()
SELF version(Action<? super MutableVersionConstraint> configureAction)
configureAction
- modify version details@Incubating @Nullable String getReason()
@Incubating SELF because(String reason)
reason
- modified reason