# SelfResolvingDependency

interface SelfResolvingDependency : Dependency, Buildable(source)

### Deprecated

A `SelfResolvingDependency` is a Dependency which is able to resolve itself, independent of a repository.

#### Deprecated

Dependencies should not be resolved outside a resolvable configuration. To resolve this dependency, add it to a resolvable configuration and resolve that configuration.

#### Inheritors

ProjectDependency
FileCollectionDependency

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

because
Link copied to clipboard
abstract fun because(reason: String)
contentEquals
Link copied to clipboard
abstract fun contentEquals(dependency: Dependency): Boolean
copy
Link copied to clipboard
abstract fun copy(): Dependency
getBuildDependencies
Link copied to clipboard
abstract fun getBuildDependencies(): TaskDependency
getGroup
Link copied to clipboard
abstract fun getGroup(): String
getName
Link copied to clipboard
abstract fun getName(): String
getReason
Link copied to clipboard
abstract fun getReason(): String
getVersion
Link copied to clipboard
abstract fun getVersion(): String
resolve
Link copied to clipboard
abstract fun resolve(): Set<File>
Resolves this dependency.
abstract fun resolve(transitive: Boolean): Set<File>
Resolves this dependency by specifying the transitive mode.