# invoke

operator fun String.invoke(dependencyConstraintNotation: Any): ERROR CLASS: Symbol not found for DependencyConstraint(source)
operator fun ERROR CLASS: Symbol not found for Configuration.invoke(dependencyConstraintNotation: Any): ERROR CLASS: Symbol not found for DependencyConstraint(source)

Adds a dependency constraint to the given configuration.

#### Return

The dependency constraint.

#### Parameters

dependencyConstraintNotation

notation for the dependency constraint to be added.

#### See also

DependencyConstraintHandler.add

operator fun String.invoke(dependencyConstraintNotation: String, configuration: ERROR CLASS: Symbol not found for DependencyConstraint.() -> Unit): ERROR CLASS: Symbol not found for DependencyConstraint(source)
operator fun ERROR CLASS: Symbol not found for Configuration.invoke(dependencyConstraintNotation: String, configuration: ERROR CLASS: Symbol not found for DependencyConstraint.() -> Unit): ERROR CLASS: Symbol not found for DependencyConstraint(source)

Adds a dependency constraint to the given configuration.

#### Return

The dependency constraint.

#### Parameters

dependencyConstraintNotation

notation for the dependency constraint to be added.

configuration

expression to use to configure the dependency constraint.

#### See also

DependencyConstraintHandler.add

operator fun ERROR CLASS: Symbol not found for NamedDomainObjectProvider<ERROR CLASS: Symbol not found for Configuration>.invoke(dependencyConstraintNotation: Any): ERROR CLASS: Symbol not found for DependencyConstraint(source)

Adds a dependency constraint to the given configuration.

#### Return

The dependency constraint.

#### Since

8.3

#### Parameters

dependencyConstraintNotation

notation for the dependency constraint to be added.

#### See also

DependencyConstraintHandler.add

@JvmName(name = "invokeDependencyScope")
operator fun ERROR CLASS: Symbol not found for NamedDomainObjectProvider<ERROR CLASS: Symbol not found for DependencyScopeConfiguration>.invoke(dependencyConstraintNotation: Any): ERROR CLASS: Symbol not found for DependencyConstraint(source)

Adds a dependency constraint to the given DependencyScopeConfiguration.

#### Return

The dependency constraint.

#### Since

8.5

#### Parameters

dependencyConstraintNotation

notation for the dependency constraint to be added.

#### See also

DependencyConstraintHandler.add

operator fun ERROR CLASS: Symbol not found for NamedDomainObjectProvider<ERROR CLASS: Symbol not found for Configuration>.invoke(dependencyConstraintNotation: String, configuration: ERROR CLASS: Symbol not found for DependencyConstraint.() -> Unit): ERROR CLASS: Symbol not found for DependencyConstraint(source)

Adds a dependency constraint to the given configuration.

#### Return

The dependency constraint.

#### Since

8.3

#### Parameters

dependencyConstraintNotation

notation for the dependency constraint to be added.

configuration

expression to use to configure the dependency constraint.

#### See also

DependencyConstraintHandler.add

@JvmName(name = "invokeDependencyScope")
operator fun ERROR CLASS: Symbol not found for NamedDomainObjectProvider<ERROR CLASS: Symbol not found for DependencyScopeConfiguration>.invoke(dependencyConstraintNotation: String, configuration: ERROR CLASS: Symbol not found for DependencyConstraint.() -> Unit): ERROR CLASS: Symbol not found for DependencyConstraint(source)

Adds a dependency constraint to the given DependencyScopeConfiguration.

#### Return

The dependency constraint.

#### Since

8.5

#### Parameters

dependencyConstraintNotation

notation for the dependency constraint to be added.

configuration

expression to use to configure the dependency constraint.

#### See also

DependencyConstraintHandler.add

inline operator fun invoke(configuration: DependencyConstraintHandlerScope.() -> Unit)(source)

Configures the dependency constraints.