# ResolvableConfiguration

@Incubating
interface ResolvableConfiguration : Configuration(source)

A Configuration which performs dependency resolution to build dependency graphs and resolve artifacts.

#### Since

8.4

## Functions

addToAntBuilder
Link copied to clipboard
abstract fun addToAntBuilder(builder: Any, nodeName: String): Any
abstract fun addToAntBuilder(builder: Any, nodeName: String, type: FileCollection.AntType)
attributes
Link copied to clipboard
abstract fun attributes(action: Action<in AttributeContainer>): SELF
contains
Link copied to clipboard
abstract fun contains(file: File): Boolean
copy
Link copied to clipboard
abstract fun copy(): Configuration
copyRecursive
Link copied to clipboard
abstract fun copyRecursive(): Configuration
defaultDependencies
Link copied to clipboard
abstract fun defaultDependencies(action: Action<in DependencySet>): Configuration
disableConsistentResolution
Link copied to clipboard
abstract fun disableConsistentResolution(): Configuration
exclude
Link copied to clipboard
abstract fun exclude(excludeProperties: Map<String, String>): Configuration
exclude
Link copied to clipboard
fun Configuration. exclude(group: String? = null, module: String? = null): Configuration

Adds an exclude rule to exclude transitive dependencies for all dependencies of this configuration. You can also add exclude rules per-dependency. See ModuleDependency.exclude.

extendsFrom
Link copied to clipboard
abstract fun extendsFrom(superConfigs: Array<Configuration>): Configuration
filter
Link copied to clipboard
abstract fun filter(filterClosure: Closure): FileCollection
forEach
Link copied to clipboard
open fun forEach(p: Consumer<in T>)
fromDependencyCollector
Link copied to clipboard
open fun fromDependencyCollector(collector: DependencyCollector)
getAllArtifacts
Link copied to clipboard
abstract fun getAllArtifacts(): PublishArtifactSet
getAllDependencies
Link copied to clipboard
abstract fun getAllDependencies(): DependencySet
getAllDependencyConstraints
Link copied to clipboard
abstract fun getAllDependencyConstraints(): DependencyConstraintSet
getArtifacts
Link copied to clipboard
abstract fun getArtifacts(): PublishArtifactSet
getAsFileTree
Link copied to clipboard
abstract fun getAsFileTree(): FileTree
getAsPath
Link copied to clipboard
abstract fun getAsPath(): String
getAttributes
Link copied to clipboard
abstract fun getAttributes(): AttributeContainer
getBuildDependencies
Link copied to clipboard
abstract fun getBuildDependencies(): TaskDependency
getDependencies
Link copied to clipboard
abstract fun getDependencies(): DependencySet
getDependencyConstraints
Link copied to clipboard
abstract fun getDependencyConstraints(): DependencyConstraintSet
getDescription
Link copied to clipboard
abstract fun getDescription(): @Nullable String
getElements
Link copied to clipboard
abstract fun getElements(): Provider<Set<FileSystemLocation>>
getExcludeRules
Link copied to clipboard
abstract fun getExcludeRules(): Set<ExcludeRule>
getExtendsFrom
Link copied to clipboard
abstract fun getExtendsFrom(): Set<Configuration>
getFiles
Link copied to clipboard
abstract fun getFiles(): Set<File>
getHierarchy
Link copied to clipboard
abstract fun getHierarchy(): Set<Configuration>
getIncoming
Link copied to clipboard
abstract fun getIncoming(): ResolvableDependencies
getName
Link copied to clipboard
abstract fun getName(): String
getOutgoing
Link copied to clipboard
abstract fun getOutgoing(): ConfigurationPublications
getResolutionStrategy
Link copied to clipboard
abstract fun getResolutionStrategy(): ResolutionStrategy
getResolvedConfiguration
Link copied to clipboard
abstract fun getResolvedConfiguration(): ResolvedConfiguration
getSingleFile
Link copied to clipboard
abstract fun getSingleFile(): File
getState
Link copied to clipboard
abstract fun getState(): Configuration.State
getTaskDependencyFromProjectDependency
Link copied to clipboard
abstract fun getTaskDependencyFromProjectDependency(useDependedOn: Boolean, taskName: String): TaskDependency
isCanBeConsumed
Link copied to clipboard
abstract fun isCanBeConsumed(): Boolean
isCanBeDeclared
Link copied to clipboard
abstract fun isCanBeDeclared(): Boolean
isCanBeResolved
Link copied to clipboard
abstract fun isCanBeResolved(): Boolean
isEmpty
Link copied to clipboard
abstract fun isEmpty(): Boolean
isTransitive
Link copied to clipboard
abstract fun isTransitive(): Boolean
isVisible
Link copied to clipboard
abstract fun isVisible(): Boolean
iterator
Link copied to clipboard
abstract fun iterator(): Iterator<T>
minus
Link copied to clipboard
abstract fun minus(collection: FileCollection): FileCollection
outgoing
Link copied to clipboard
abstract fun outgoing(action: Action<in ConfigurationPublications>)
plus
Link copied to clipboard
abstract fun plus(collection: FileCollection): FileCollection
resolutionStrategy
Link copied to clipboard
abstract fun resolutionStrategy(closure: Closure): Configuration
resolve
Link copied to clipboard
abstract fun resolve(): Set<File>
setCanBeConsumed
Link copied to clipboard
abstract fun setCanBeConsumed(allowed: Boolean)
setCanBeDeclared
Link copied to clipboard
abstract fun setCanBeDeclared(allowed: Boolean)
setCanBeResolved
Link copied to clipboard
abstract fun setCanBeResolved(allowed: Boolean)
setDescription
Link copied to clipboard
abstract fun setDescription(description: @Nullable String): Configuration
setExtendsFrom
Link copied to clipboard
abstract fun setExtendsFrom(superConfigs: Iterable<Configuration>): Configuration
setTransitive
Link copied to clipboard
abstract fun setTransitive(t: Boolean): Configuration
setVisible
Link copied to clipboard
abstract fun setVisible(visible: Boolean): Configuration
shouldResolveConsistentlyWith
Link copied to clipboard
abstract fun shouldResolveConsistentlyWith(versionsSource: Configuration): Configuration
spliterator
Link copied to clipboard
open fun spliterator(): Spliterator<T>
withDependencies
Link copied to clipboard
abstract fun withDependencies(action: Action<in DependencySet>): Configuration