invoke
Adds a dependency constraint to the given configuration.
Return
The dependency constraint.
Parameters
dependency Constraint Notation
notation for the dependency constraint to be added.
See also
Dependency Constraint Handler. add
operator fun String.invoke(dependencyConstraintNotation: String, configuration: DependencyConstraint.() -> Unit): DependencyConstraint
operator fun Configuration.invoke(dependencyConstraintNotation: String, configuration: DependencyConstraint.() -> Unit): DependencyConstraint
Adds a dependency constraint to the given configuration.
Return
The dependency constraint.
Parameters
dependency Constraint Notation
notation for the dependency constraint to be added.
configuration
expression to use to configure the dependency constraint.
See also
Dependency Constraint Handler. add
@Incubating
Adds a dependency constraint to the given configuration.
Return
The dependency constraint.
Since
8.3
Parameters
dependency Constraint Notation
notation for the dependency constraint to be added.
See also
Dependency Constraint Handler. add
@Incubating
Adds a dependency constraint to the given configuration.
Return
The dependency constraint.
Since
8.3
Parameters
dependency Constraint Notation
notation for the dependency constraint to be added.
configuration
expression to use to configure the dependency constraint.
See also
Dependency Constraint Handler. add
Configures the dependency constraints.