DependencyConstraintHandlerScope

class DependencyConstraintHandlerScope : DependencyConstraintHandlerDelegate(source)

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

Since

5.0

See also

DependencyConstraintHandler

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val constraints: ERROR CLASS: Symbol not found for DependencyConstraintHandler
Link copied to clipboard
open override val delegate: ERROR CLASS: Symbol not found for DependencyConstraintHandler

Functions

Link copied to clipboard
open fun add(configurationName: String, dependencyNotation: Any): org/gradle/api/artifacts/DependencyConstraint
open fun add(configurationName: String, dependencyNotation: Any, configureAction: org/gradle/api/Action<in org/gradle/api/artifacts/DependencyConstraint>): org/gradle/api/artifacts/DependencyConstraint
Link copied to clipboard
open fun <T : Any> addProvider(configurationName: String, dependencyNotation: org/gradle/api/provider/Provider<T>)
open fun <T : Any> addProvider(configurationName: String, dependencyNotation: org/gradle/api/provider/Provider<T>, configureAction: org/gradle/api/Action<in org/gradle/api/artifacts/DependencyConstraint>)
Link copied to clipboard
open fun <T : Any> addProviderConvertible(configurationName: String, dependencyNotation: org/gradle/api/provider/ProviderConvertible<T>)
open fun <T : Any> addProviderConvertible(configurationName: String, dependencyNotation: org/gradle/api/provider/ProviderConvertible<T>, configureAction: org/gradle/api/Action<in org/gradle/api/artifacts/DependencyConstraint>)
Link copied to clipboard
open fun create(dependencyConstraintNotation: Any): org/gradle/api/artifacts/DependencyConstraint
open fun create(dependencyConstraintNotation: Any, configureAction: org/gradle/api/Action<in org/gradle/api/artifacts/DependencyConstraint>): org/gradle/api/artifacts/DependencyConstraint
Link copied to clipboard
open fun enforcedPlatform(notation: Any): org/gradle/api/artifacts/DependencyConstraint
open fun enforcedPlatform(notation: Any, configureAction: org/gradle/api/Action<in org/gradle/api/artifacts/DependencyConstraint>): org/gradle/api/artifacts/DependencyConstraint
Link copied to clipboard
inline operator fun invoke(configuration: DependencyConstraintHandlerScope.() -> Unit)

Configures the dependency constraints.

operator fun ERROR CLASS: Symbol not found for Configuration.invoke(dependencyConstraintNotation: Any): ERROR CLASS: Symbol not found for DependencyConstraint
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
operator fun String.invoke(dependencyConstraintNotation: Any): ERROR CLASS: Symbol not found for DependencyConstraint
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
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
operator fun String.invoke(dependencyConstraintNotation: String, configuration: ERROR CLASS: Symbol not found for DependencyConstraint.() -> Unit): ERROR CLASS: Symbol not found for DependencyConstraint

Adds a dependency constraint to the given configuration.

@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
@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

Adds a dependency constraint to the given DependencyScopeConfiguration.