api / org.gradle.api.artifacts.dsl / DependencyHandler / constraints

constraints

@Incubating abstract fun constraints(configureAction: Action<in DependencyConstraintHandler>): Unit

Configures dependency constraint for this project.

This method executes the given action against the org.gradle.api.artifacts.dsl.DependencyConstraintHandler for this project.

Parameters

configureAction - the action to use to configure module metadata

Since
4.5