# DependencyHandlerScope

open class DependencyHandlerScope : DependencyHandlerDelegate(source)

Receiver for `dependencies` block providing convenient utilities for configuring dependencies.

#### See also

DependencyHandler

## Types

Companion
Link copied to clipboard
object Companion

## Properties

delegate
Link copied to clipboard
open override val delegate: ERROR CLASS: Symbol not found for DependencyHandler
dependencies
Link copied to clipboard
val dependencies: ERROR CLASS: Symbol not found for DependencyHandler

## Functions

add
Link copied to clipboard
open fun add(configurationName: String, dependencyNotation: Any): org/gradle/api/artifacts/Dependency??
open fun add(configurationName: String, dependencyNotation: Any, configureClosure: Closure<Any>): org/gradle/api/artifacts/Dependency??
addProvider
Link copied to clipboard
open fun <T : Any> addProvider(configurationName: String, dependencyNotation: org/gradle/api/provider/Provider<T>)
open fun <T : Any, U : org/gradle/api/artifacts/ExternalModuleDependency> addProvider(configurationName: String, dependencyNotation: org/gradle/api/provider/Provider<T>, configuration: org/gradle/api/Action<in U>)
addProviderConvertible
Link copied to clipboard
open fun <T : Any> addProviderConvertible(configurationName: String, dependencyNotation: org/gradle/api/provider/ProviderConvertible<T>)
open fun <T : Any, U : org/gradle/api/artifacts/ExternalModuleDependency> addProviderConvertible(configurationName: String, dependencyNotation: org/gradle/api/provider/ProviderConvertible<T>, configuration: org/gradle/api/Action<in U>)
artifactTypes
Link copied to clipboard
open fun artifactTypes(configureAction: org/gradle/api/Action<in org/gradle/api/artifacts/type/ArtifactTypeContainer>)
attributesSchema
Link copied to clipboard
open fun attributesSchema(configureAction: org/gradle/api/Action<in org/gradle/api/attributes/AttributesSchema>): org/gradle/api/attributes/AttributesSchema
components
Link copied to clipboard
open fun components(configureAction: org/gradle/api/Action<in org/gradle/api/artifacts/dsl/ComponentMetadataHandler>)
constraints
Link copied to clipboard
fun constraints(configureAction: DependencyConstraintHandlerScope.() -> Unit)

Configures dependency constraint for this project.

open fun constraints(configureAction: org/gradle/api/Action<in org/gradle/api/artifacts/dsl/DependencyConstraintHandler>)
create
Link copied to clipboard
open fun create(dependencyNotation: Any): org/gradle/api/artifacts/Dependency
open fun create(dependencyNotation: Any, configureClosure: Closure<Any>): org/gradle/api/artifacts/Dependency
createArtifactResolutionQuery
Link copied to clipboard
open fun createArtifactResolutionQuery(): org/gradle/api/artifacts/query/ArtifactResolutionQuery
enforcedPlatform
Link copied to clipboard
open fun enforcedPlatform(dependencyProvider: org/gradle/api/provider/Provider<org/gradle/api/artifacts/MinimalExternalModuleDependency>): org/gradle/api/provider/Provider<org/gradle/api/artifacts/MinimalExternalModuleDependency>
open fun enforcedPlatform(notation: Any): org/gradle/api/artifacts/Dependency
open fun enforcedPlatform(notation: Any, configureAction: org/gradle/api/Action<in org/gradle/api/artifacts/Dependency>): org/gradle/api/artifacts/Dependency
getArtifactTypes
Link copied to clipboard
open fun getArtifactTypes(): org/gradle/api/artifacts/type/ArtifactTypeContainer
getAttributesSchema
Link copied to clipboard
open fun getAttributesSchema(): org/gradle/api/attributes/AttributesSchema
getComponents
Link copied to clipboard
open fun getComponents(): org/gradle/api/artifacts/dsl/ComponentMetadataHandler
getConstraints
Link copied to clipboard
open fun getConstraints(): org/gradle/api/artifacts/dsl/DependencyConstraintHandler
getExtensions
Link copied to clipboard
open fun getExtensions(): org/gradle/api/plugins/ExtensionContainer
getModules
Link copied to clipboard
open fun getModules(): org/gradle/api/artifacts/dsl/ComponentModuleMetadataHandler
gradleApi
Link copied to clipboard
open fun gradleApi(): org/gradle/api/artifacts/Dependency
gradleTestKit
Link copied to clipboard
open fun gradleTestKit(): org/gradle/api/artifacts/Dependency
invoke
Link copied to clipboard
inline operator fun invoke(configuration: DependencyHandlerScope.() -> Unit)

Configures the dependencies.

operator fun <T : Any> ERROR CLASS: Symbol not found for Configuration.invoke(dependency: ERROR CLASS: Symbol not found for Provider<T>)
operator fun <T : Any> ERROR CLASS: Symbol not found for Configuration.invoke(dependency: ERROR CLASS: Symbol not found for ProviderConvertible<T>)
operator fun <T : Any> ERROR CLASS: Symbol not found for NamedDomainObjectProvider<ERROR CLASS: Symbol not found for Configuration>.invoke(dependency: ERROR CLASS: Symbol not found for Provider<T>)
operator fun <T : Any> ERROR CLASS: Symbol not found for NamedDomainObjectProvider<ERROR CLASS: Symbol not found for Configuration>.invoke(dependency: ERROR CLASS: Symbol not found for ProviderConvertible<T>)
operator fun <T : Any> String.invoke(dependency: ERROR CLASS: Symbol not found for Provider<T>)
operator fun <T : Any> String.invoke(dependency: ERROR CLASS: Symbol not found for ProviderConvertible<T>)
operator fun <T : Any> ERROR CLASS: Symbol not found for Configuration.invoke(dependency: ERROR CLASS: Symbol not found for Provider<T>, dependencyConfiguration: ERROR CLASS: Symbol not found for ExternalModuleDependency.() -> Unit)
operator fun <T : Any> ERROR CLASS: Symbol not found for Configuration.invoke(dependency: ERROR CLASS: Symbol not found for ProviderConvertible<T>, dependencyConfiguration: ERROR CLASS: Symbol not found for ExternalModuleDependency.() -> Unit)
operator fun <T : Any> ERROR CLASS: Symbol not found for NamedDomainObjectProvider<ERROR CLASS: Symbol not found for Configuration>.invoke(dependency: ERROR CLASS: Symbol not found for Provider<T>, dependencyConfiguration: ERROR CLASS: Symbol not found for ExternalModuleDependency.() -> Unit)
operator fun <T : Any> ERROR CLASS: Symbol not found for NamedDomainObjectProvider<ERROR CLASS: Symbol not found for Configuration>.invoke(dependency: ERROR CLASS: Symbol not found for ProviderConvertible<T>, dependencyConfiguration: ERROR CLASS: Symbol not found for ExternalModuleDependency.() -> Unit)
operator fun <T : Any> String.invoke(dependency: ERROR CLASS: Symbol not found for Provider<T>, dependencyConfiguration: ERROR CLASS: Symbol not found for ExternalModuleDependency.() -> Unit)
operator fun <T : Any> String.invoke(dependency: ERROR CLASS: Symbol not found for ProviderConvertible<T>, dependencyConfiguration: ERROR CLASS: Symbol not found for ExternalModuleDependency.() -> Unit)

Adds a dependency provider to the given configuration.

operator fun ERROR CLASS: Symbol not found for Configuration.invoke(dependencyNotation: Any): ERROR CLASS: Symbol not found for Dependency??
operator fun ERROR CLASS: Symbol not found for NamedDomainObjectProvider<ERROR CLASS: Symbol not found for Configuration>.invoke(dependencyNotation: Any): ERROR CLASS: Symbol not found for Dependency??
operator fun String.invoke(dependencyNotation: Any): ERROR CLASS: Symbol not found for Dependency??
inline operator fun <T : ERROR CLASS: Symbol not found for ModuleDependency> ERROR CLASS: Symbol not found for Configuration.invoke(dependency: T, dependencyConfiguration: T.() -> Unit): T
inline operator fun ERROR CLASS: Symbol not found for Configuration.invoke(dependencyNotation: String, dependencyConfiguration: ERROR CLASS: Symbol not found for ExternalModuleDependency.() -> Unit): ERROR CLASS: Symbol not found for ExternalModuleDependency
inline operator fun <T : ERROR CLASS: Symbol not found for ModuleDependency> ERROR CLASS: Symbol not found for NamedDomainObjectProvider<ERROR CLASS: Symbol not found for Configuration>.invoke(dependency: T, dependencyConfiguration: T.() -> Unit): T
inline operator fun ERROR CLASS: Symbol not found for NamedDomainObjectProvider<ERROR CLASS: Symbol not found for Configuration>.invoke(dependencyNotation: String, dependencyConfiguration: ERROR CLASS: Symbol not found for ExternalModuleDependency.() -> Unit): ERROR CLASS: Symbol not found for ExternalModuleDependency
inline operator fun <T : ERROR CLASS: Symbol not found for ModuleDependency> String.invoke(dependency: T, dependencyConfiguration: T.() -> Unit): T
inline operator fun String.invoke(dependencyNotation: String, dependencyConfiguration: ERROR CLASS: Symbol not found for ExternalModuleDependency.() -> Unit): ERROR CLASS: Symbol not found for ExternalModuleDependency
operator fun ERROR CLASS: Symbol not found for Configuration.invoke(group: String, name: String, version: String? = null, configuration: String? = null, classifier: String? = null, ext: String? = null): ERROR CLASS: Symbol not found for ExternalModuleDependency
operator fun ERROR CLASS: Symbol not found for NamedDomainObjectProvider<ERROR CLASS: Symbol not found for Configuration>.invoke(group: String, name: String, version: String? = null, configuration: String? = null, classifier: String? = null, ext: String? = null): ERROR CLASS: Symbol not found for ExternalModuleDependency
operator fun String.invoke(group: String, name: String, version: String? = null, configuration: String? = null, classifier: String? = null, ext: String? = null): ERROR CLASS: Symbol not found for ExternalModuleDependency
inline operator fun ERROR CLASS: Symbol not found for Configuration.invoke(group: String, name: String, version: String? = null, configuration: String? = null, classifier: String? = null, ext: String? = null, dependencyConfiguration: ERROR CLASS: Symbol not found for ExternalModuleDependency.() -> Unit): ERROR CLASS: Symbol not found for ExternalModuleDependency
inline operator fun ERROR CLASS: Symbol not found for NamedDomainObjectProvider<ERROR CLASS: Symbol not found for Configuration>.invoke(group: String, name: String, version: String? = null, configuration: String? = null, classifier: String? = null, ext: String? = null, dependencyConfiguration: ERROR CLASS: Symbol not found for ExternalModuleDependency.() -> Unit): ERROR CLASS: Symbol not found for ExternalModuleDependency
inline operator fun String.invoke(group: String, name: String, version: String? = null, configuration: String? = null, classifier: String? = null, ext: String? = null, dependencyConfiguration: ERROR CLASS: Symbol not found for ExternalModuleDependency.() -> Unit): ERROR CLASS: Symbol not found for ExternalModuleDependency

Adds a dependency to the given configuration.

@JvmName(name = "invokeDependencyScope")
operator fun <T : Any> ERROR CLASS: Symbol not found for NamedDomainObjectProvider<ERROR CLASS: Symbol not found for DependencyScopeConfiguration>.invoke(dependency: ERROR CLASS: Symbol not found for Provider<T>)
@JvmName(name = "invokeDependencyScope")
operator fun <T : Any> ERROR CLASS: Symbol not found for NamedDomainObjectProvider<ERROR CLASS: Symbol not found for DependencyScopeConfiguration>.invoke(dependency: ERROR CLASS: Symbol not found for ProviderConvertible<T>)
@JvmName(name = "invokeDependencyScope")
operator fun <T : Any> ERROR CLASS: Symbol not found for NamedDomainObjectProvider<ERROR CLASS: Symbol not found for DependencyScopeConfiguration>.invoke(dependency: ERROR CLASS: Symbol not found for Provider<T>, dependencyConfiguration: ERROR CLASS: Symbol not found for ExternalModuleDependency.() -> Unit)
@JvmName(name = "invokeDependencyScope")
operator fun <T : Any> ERROR CLASS: Symbol not found for NamedDomainObjectProvider<ERROR CLASS: Symbol not found for DependencyScopeConfiguration>.invoke(dependency: ERROR CLASS: Symbol not found for ProviderConvertible<T>, dependencyConfiguration: ERROR CLASS: Symbol not found for ExternalModuleDependency.() -> Unit)

Adds a dependency provider to the given DependencyScopeConfiguration.

@JvmName(name = "invokeDependencyScope")
operator fun ERROR CLASS: Symbol not found for NamedDomainObjectProvider<ERROR CLASS: Symbol not found for DependencyScopeConfiguration>.invoke(dependencyNotation: Any): ERROR CLASS: Symbol not found for Dependency??
@JvmName(name = "invokeDependencyScope")
inline operator fun <T : ERROR CLASS: Symbol not found for ModuleDependency> ERROR CLASS: Symbol not found for NamedDomainObjectProvider<ERROR CLASS: Symbol not found for DependencyScopeConfiguration>.invoke(dependency: T, dependencyConfiguration: T.() -> Unit): T
@JvmName(name = "invokeDependencyScope")
inline operator fun ERROR CLASS: Symbol not found for NamedDomainObjectProvider<ERROR CLASS: Symbol not found for DependencyScopeConfiguration>.invoke(dependencyNotation: String, dependencyConfiguration: ERROR CLASS: Symbol not found for ExternalModuleDependency.() -> Unit): ERROR CLASS: Symbol not found for ExternalModuleDependency
@JvmName(name = "invokeDependencyScope")
operator fun ERROR CLASS: Symbol not found for NamedDomainObjectProvider<ERROR CLASS: Symbol not found for DependencyScopeConfiguration>.invoke(group: String, name: String, version: String? = null, configuration: String? = null, classifier: String? = null, ext: String? = null): ERROR CLASS: Symbol not found for ExternalModuleDependency
@JvmName(name = "invokeDependencyScope")
inline operator fun ERROR CLASS: Symbol not found for NamedDomainObjectProvider<ERROR CLASS: Symbol not found for DependencyScopeConfiguration>.invoke(group: String, name: String, version: String? = null, configuration: String? = null, classifier: String? = null, ext: String? = null, dependencyConfiguration: ERROR CLASS: Symbol not found for ExternalModuleDependency.() -> Unit): ERROR CLASS: Symbol not found for ExternalModuleDependency

Adds a dependency to the given DependencyScopeConfiguration.

localGroovy
Link copied to clipboard
open fun localGroovy(): org/gradle/api/artifacts/Dependency
modules
Link copied to clipboard
open fun modules(configureAction: org/gradle/api/Action<in org/gradle/api/artifacts/dsl/ComponentModuleMetadataHandler>)
platform
Link copied to clipboard
open fun platform(notation: Any): org/gradle/api/artifacts/Dependency
open fun platform(notation: Any, configureAction: org/gradle/api/Action<in org/gradle/api/artifacts/Dependency>): org/gradle/api/artifacts/Dependency
project
Link copied to clipboard
open fun project(): org/gradle/api/artifacts/ProjectDependency
open fun project(projectPath: String): org/gradle/api/artifacts/ProjectDependency
open fun project(notation: Map<String, *>): org/gradle/api/artifacts/Dependency
registerTransform
Link copied to clipboard
open fun <T : org/gradle/api/artifacts/transform/TransformParameters> registerTransform(actionType: Class<out org/gradle/api/artifacts/transform/TransformAction<T>>, registrationAction: org/gradle/api/Action<in org/gradle/api/artifacts/transform/TransformSpec<T>>)
testFixtures
Link copied to clipboard
open fun testFixtures(notation: Any): org/gradle/api/artifacts/Dependency
open fun testFixtures(notation: Any, configureAction: org/gradle/api/Action<in org/gradle/api/artifacts/Dependency>): org/gradle/api/artifacts/Dependency
variantOf
Link copied to clipboard
open fun variantOf(dependencyProvider: org/gradle/api/provider/Provider<org/gradle/api/artifacts/MinimalExternalModuleDependency>, variantSpec: org/gradle/api/Action<in org/gradle/api/artifacts/dsl/ExternalModuleDependencyVariantSpec>): org/gradle/api/provider/Provider<org/gradle/api/artifacts/MinimalExternalModuleDependency>