DependencyConstraintHandlerScope

class DependencyConstraintHandlerScope : DependencyConstraintHandlerDelegate(source)

Receiver for dependencies.constraints block providing convenient utilities for configuring dependency constraints.

Since

5.0

See also

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun add(configurationName: String, dependencyConstraintNotation: Any): DependencyConstraint
open override fun add(configurationName: String, dependencyNotation: Any, configureAction: Action<in DependencyConstraint>): DependencyConstraint
Link copied to clipboard
open override fun create(dependencyConstraintNotation: Any): DependencyConstraint
open override fun create(dependencyConstraintNotation: Any, configureAction: Action<in DependencyConstraint>): DependencyConstraint
Link copied to clipboard
open override fun enforcedPlatform(notation: Any): DependencyConstraint
open override fun enforcedPlatform(notation: Any, configureAction: Action<in DependencyConstraint>): DependencyConstraint
Link copied to clipboard
inline operator fun invoke(configuration: DependencyConstraintHandlerScope.() -> Unit)

Configures the dependency constraints.

operator fun String.invoke(dependencyConstraintNotation: Any): DependencyConstraint
@Incubating
operator fun NamedDomainObjectProvider<Configuration>.invoke(dependencyConstraintNotation: Any): DependencyConstraint
operator fun Configuration.invoke(dependencyConstraintNotation: Any): DependencyConstraint
operator fun String.invoke(dependencyConstraintNotation: String, configuration: DependencyConstraint.() -> Unit): DependencyConstraint
@Incubating
operator fun NamedDomainObjectProvider<Configuration>.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.

@Incubating
@JvmName(name = "invokeDependencyScope")
operator fun NamedDomainObjectProvider<DependencyScopeConfiguration>.invoke(dependencyConstraintNotation: Any): DependencyConstraint
@Incubating
@JvmName(name = "invokeDependencyScope")
operator fun NamedDomainObjectProvider<DependencyScopeConfiguration>.invoke(dependencyConstraintNotation: String, configuration: DependencyConstraint.() -> Unit): DependencyConstraint

Adds a dependency constraint to the given DependencyScopeConfiguration.

Link copied to clipboard

Configures the dependency constraints.