Component Metadata Details
Describes a resolved component's metadata, which typically originates from a component descriptor (Ivy file, Maven POM). Some parts of the metadata can be changed via metadata rules (see org.gradle.api.artifacts.dsl.ComponentMetadataHandler.
Since
1.8
Functions
Link copied to clipboard
Add a rule for adding a new empty variant to the component.
Add a rule for adding a new variant to the component.
Link copied to clipboard
Add a rule for adjusting all variants of a component.
Link copied to clipboard
Link copied to clipboard
Declares that this component belongs to a virtual platform, which should be considered during dependency resolution.
Declares that this component belongs to a platform, which should be considered during dependency resolution.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
This is the lenient version of addVariant.
Link copied to clipboard
Sets whether the component is changing or immutable.
Link copied to clipboard
Sets the status scheme of the component.
Link copied to clipboard
Add a rule for adjusting an existing variant of the component.