Package org.gradle.api.artifacts
Interface VariantMetadata
-
@Incubating public interface VariantMetadata
Represents the metadata of one variant of a component, seeComponentMetadataDetails.withVariant(String, Action)
.- Since:
- 4.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
withDependencies(Action<DependenciesMetadata> action)
Register a rule that modifies the dependencies of this variant.
-
-
-
Method Detail
-
withDependencies
void withDependencies(Action<DependenciesMetadata> action)
Register a rule that modifies the dependencies of this variant.- Parameters:
action
- the action that performs the dependencies adjustment
-
-