gradle
8.4

# SelfResolvingDependency

interface SelfResolvingDependency : Dependency, Buildable(source)

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

#### Inheritors

FileCollectionDependency
ProjectDependency

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