Direct Dependency Metadata
Describes a dependency declared in a resolved component's metadata, which typically originates from a component descriptor (Gradle metadata file, Ivy file, Maven POM). This interface can be used to adjust a dependency's properties via metadata rules (see org.gradle.api.artifacts.dsl.ComponentMetadataHandler.
Since
4.5
Functions
Link copied to clipboard
Adjust the attributes of this dependency
Link copied to clipboard
Resets the isEndorsingStrictVersions state of this dependency.
Link copied to clipboard
Endorse version constraints with getStrictVersion strict versions} from the target module.
Link copied to clipboard
Returns additional artifact information associated with the dependency that is used to select artifacts in the targeted module.
Link copied to clipboard
Returns the attributes of this dependency.
Link copied to clipboard
The module identifier of the component.
Link copied to clipboard
Returns the version of the module that is targeted by this dependency or dependency constraint.
Link copied to clipboard
Are the getStrictVersion strict version} dependency constraints of the target module endorsed?
Link copied to clipboard
Adjust the version constraints of the dependency or dependency constraint.