DependencyMetadata<DirectDependencyMetadata>
public interface DirectDependencyMetadata extends DependencyMetadata<DirectDependencyMetadata>
ComponentMetadataHandler
.Modifier and Type | Method | Description |
---|---|---|
void |
doNotEndorseStrictVersions() |
Resets the
isEndorsingStrictVersions() state of this dependency. |
void |
endorseStrictVersions() |
Endorse version constraints with
VersionConstraint.getStrictVersion() strict versions} from the target module. |
boolean |
isEndorsingStrictVersions() |
Are the
VersionConstraint.getStrictVersion() strict version} dependency constraints of the target module endorsed? |
attributes, because, getAttributes, getGroup, getModule, getName, getReason, getVersionConstraint, version
@Incubating void endorseStrictVersions()
VersionConstraint.getStrictVersion()
strict versions} from the target module.
Endorsing strict versions of another module/platform means that all strict versions will be interpreted during dependency
resolution as if they where defined by the endorsing module itself.@Incubating void doNotEndorseStrictVersions()
isEndorsingStrictVersions()
state of this dependency.@Incubating boolean isEndorsingStrictVersions()
VersionConstraint.getStrictVersion()
strict version} dependency constraints of the target module endorsed?