# ProjectDependency

interface ProjectDependency : ModuleDependency

A `ProjectDependency` is a Dependency on another project in the current project hierarchy.

## Properties

ARCHIVES_CONFIGURATION
Link copied to clipboard
val ARCHIVES_CONFIGURATION: String = "archives"
CLASSIFIER
Link copied to clipboard
val CLASSIFIER: String = "m:classifier"
DEFAULT_CONFIGURATION
Link copied to clipboard
val DEFAULT_CONFIGURATION: String = "default"

## Functions

addArtifact
Link copied to clipboard
abstract fun addArtifact(artifact: DependencyArtifact): ModuleDependency
artifact
Link copied to clipboard
abstract fun artifact(configureClosure: Closure): DependencyArtifact
attributes
Link copied to clipboard
abstract fun attributes(configureAction: Action<in AttributeContainer>): ModuleDependency
abstract fun attributes(action: Action<in AttributeContainer>): SELF
because
Link copied to clipboard
abstract fun because(reason: @Nullable String)
capabilities
Link copied to clipboard
abstract fun capabilities(configureAction: Action<in ModuleDependencyCapabilitiesHandler>): ModuleDependency
copy
Link copied to clipboard
abstract fun copy(): Dependency
abstract fun copy(): ProjectDependency
doNotEndorseStrictVersions
Link copied to clipboard
abstract fun doNotEndorseStrictVersions()
endorseStrictVersions
Link copied to clipboard
abstract fun endorseStrictVersions()
exclude
Link copied to clipboard
abstract fun exclude(excludeProperties: Map<String, String>): ModuleDependency
getArtifacts
Link copied to clipboard
abstract fun getArtifacts(): Set<DependencyArtifact>
getAttributes
Link copied to clipboard
abstract fun getAttributes(): AttributeContainer
getCapabilitySelectors
Link copied to clipboard
abstract fun getCapabilitySelectors(): Set<CapabilitySelector>
getExcludeRules
Link copied to clipboard
abstract fun getExcludeRules(): Set<ExcludeRule>
getGroup
Link copied to clipboard
abstract fun getGroup(): @Nullable String
getName
Link copied to clipboard
abstract fun getName(): String
getPath
Link copied to clipboard
abstract fun getPath(): String
Get the path to the project that this dependency refers to relative to its owning build.
getReason
Link copied to clipboard
abstract fun getReason(): @Nullable String
getRequestedCapabilities
Link copied to clipboard
abstract fun getRequestedCapabilities(): List<Capability>
getTargetConfiguration
Link copied to clipboard
abstract fun getTargetConfiguration(): @Nullable String
getVersion
Link copied to clipboard
abstract fun getVersion(): @Nullable String
isEndorsingStrictVersions
Link copied to clipboard
abstract fun isEndorsingStrictVersions(): Boolean
isTransitive
Link copied to clipboard
abstract fun isTransitive(): Boolean
setTargetConfiguration
Link copied to clipboard
abstract fun setTargetConfiguration(name: @Nullable String)
setTransitive
Link copied to clipboard
abstract fun setTransitive(transitive: Boolean): ModuleDependency