ClientModuleScope

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

Deprecated

Will be removed in Gradle 9.0

Receiver for ClientModule configuration blocks.

Constructors

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

Properties

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

Functions

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