api / org.gradle.api.artifacts / VariantMetadata / withDependencyConstraints

withDependencyConstraints

abstract fun withDependencyConstraints(action: Action<in DependencyConstraintsMetadata>): Unit

Register a rule that modifies the dependency constraints of this variant.

Parameters

action - the action that performs the dependency constraints adjustment

Since
4.5