api / org.gradle.api.artifacts / DependencySet

DependencySet

interface DependencySet : DomainObjectSet<Dependency>, Buildable

A set of artifact dependencies.

Inherited Functions

findAll

abstract fun findAll(spec: Closure<Any>): MutableSet<T>

{@inheritDoc}

getBuildDependencies

abstract fun getBuildDependencies(): TaskDependency

Returns a dependency which contains the tasks which build this artifact. All Buildable implementations must ensure that the returned dependency object is live, so that it tracks changes to the dependencies of this buildable.

matching

abstract fun matching(spec: Spec<in T>): DomainObjectSet<T>
abstract fun matching(spec: Closure<Any>): DomainObjectSet<T>

{@inheritDoc}

withType

abstract fun <S : T> withType(type: Class<S>): DomainObjectSet<S>

{@inheritDoc}