constraint
Create a DependencyConstraint from the given notation.
Return
the new dependency constraint
Since
8.7
Parameters
dependency
dependency constraint to add
See also
Valid dependency constraint notation for this method
open fun constraint(dependencyConstraint: Provider<out MinimalExternalModuleDependency>): Provider<out DependencyConstraint>
open fun constraint(dependencyConstraint: ProviderConvertible<out MinimalExternalModuleDependency>): Provider<out DependencyConstraint>
Create a DependencyConstraint from a minimal dependency.
Return
the new dependency constraint
Since
8.7
Parameters
dependency
dependency constraint to add
Create a DependencyConstraint from a project.
Return
the new dependency constraint
Since
8.7
Parameters
project
the project