Dependency Constraints Metadata
interface DependencyConstraintsMetadata : DependenciesMetadata<DependencyConstraintMetadata> (source)
Describes the dependency constraints of a variant declared in a resolved component's metadata, which typically originate from a component descriptor (Gradle metadata file). This interface can be used to adjust the dependencies of a published component via metadata rules (see org.gradle.api.artifacts.dsl.ComponentMetadataHandler.
Since
4.5
Functions
Link copied to clipboard
Add a dependency or a dependency constraint using the string notation:
group:name:version.Add a dependency or a dependency constraint using the map notation:
group: group, name: name, version: version.Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard