gradle
8.6

# ClientModuleScope

class ClientModuleScope(dependencyHandler: DependencyHandler, val clientModule: ClientModule) : ClientModuleDelegate(source)

### Deprecated

Will be removed in Gradle 9.0

Receiver for ClientModule configuration blocks.

## Constructors

ClientModuleScope
Link copied to clipboard
constructor(dependencyHandler: DependencyHandler, clientModule: ClientModule)

## Properties

clientModule
Link copied to clipboard
val clientModule: ClientModule
delegate
Link copied to clipboard
open val delegate: ClientModule

## Functions

addArtifact
Link copied to clipboard
open override fun addArtifact(artifact: DependencyArtifact): ModuleDependency
addDependency
Link copied to clipboard
open override fun addDependency(dependency: ModuleDependency)
artifact
Link copied to clipboard
open override fun artifact(configureClosure: Closure<Any>): DependencyArtifact
open override fun artifact(configureAction: Action<in DependencyArtifact>): DependencyArtifact
attributes
Link copied to clipboard
open override fun attributes(configureAction: Action<in AttributeContainer>): ModuleDependency
because
Link copied to clipboard
open override fun because(reason: String?)
capabilities
Link copied to clipboard
open override fun capabilities(configureAction: Action<in ModuleDependencyCapabilitiesHandler>): ModuleDependency
contentEquals
Link copied to clipboard
open override fun contentEquals(dependency: Dependency): Boolean
copy
Link copied to clipboard
open override fun copy(): ClientModule
dependencies
Link copied to clipboard
fun dependencies(vararg notations: Any)
dependency
Link copied to clipboard
fun dependency(notation: Any)
fun dependency(notation: String, dependencyConfiguration: ExternalModuleDependency.() -> Unit)
doNotEndorseStrictVersions
Link copied to clipboard
open override fun doNotEndorseStrictVersions()
endorseStrictVersions
Link copied to clipboard
open override fun endorseStrictVersions()
exclude
Link copied to clipboard
open override fun exclude(excludeProperties: Map<String, String>): ModuleDependency
getArtifacts
Link copied to clipboard
open override fun getArtifacts(): MutableSet<DependencyArtifact>
getAttributes
Link copied to clipboard
open override fun getAttributes(): AttributeContainer
getDependencies
Link copied to clipboard
open override fun getDependencies(): MutableSet<ModuleDependency>
getExcludeRules
Link copied to clipboard
open override fun getExcludeRules(): MutableSet<ExcludeRule>
getGroup
Link copied to clipboard
open override fun getGroup(): String
getId
Link copied to clipboard
open override fun getId(): String
getModule
Link copied to clipboard
open override fun getModule(): ModuleIdentifier
getName
Link copied to clipboard
open override fun getName(): String
getReason
Link copied to clipboard
open override fun getReason(): String?
getRequestedCapabilities
Link copied to clipboard
open override fun getRequestedCapabilities(): MutableList<Capability>
getTargetConfiguration
Link copied to clipboard
open override fun getTargetConfiguration(): String?
getVersion
Link copied to clipboard
open override fun getVersion(): String?
getVersionConstraint
Link copied to clipboard
open override fun getVersionConstraint(): VersionConstraint
isChanging
Link copied to clipboard
open override fun isChanging(): Boolean
isEndorsingStrictVersions
Link copied to clipboard
open override fun isEndorsingStrictVersions(): Boolean
isForce
Link copied to clipboard
open override fun isForce(): Boolean
isTransitive
Link copied to clipboard
open override fun isTransitive(): Boolean
matchesStrictly
Link copied to clipboard
open override fun matchesStrictly(identifier: ModuleVersionIdentifier): Boolean
module
Link copied to clipboard
fun module(group: String, name: String, version: String? = null, configuration: String? = null, classifier: String? = null, ext: String? = null, setup: ClientModuleScope.() -> Unit)
setChanging
Link copied to clipboard
open override fun setChanging(changing: Boolean): ExternalModuleDependency
setTargetConfiguration
Link copied to clipboard
open override fun setTargetConfiguration(name: String?)
setTransitive
Link copied to clipboard
open override fun setTransitive(transitive: Boolean): ModuleDependency
version
Link copied to clipboard
open override fun version(configureAction: Action<in MutableVersionConstraint>)