gradle
8.3

# files

abstract fun files(dependencySpecClosure: Closure): Set<File>

Takes a closure which gets coerced into a Spec. Behaves otherwise in the same way as files.

#### Return

The files of a subset of dependencies of this configuration.

#### Parameters

dependencySpecClosure

The closure describing a filter applied to the all the dependencies of this configuration (including dependencies from extended configurations).

abstract fun files(dependencySpec: Spec<out Any>): Set<File>

Resolves this configuration. This locates and downloads the files which make up this configuration. But only the resulting set of files belonging to the subset of dependencies specified by the dependencySpec is returned.

#### Return

The files of a subset of dependencies of this configuration.

#### Parameters

dependencySpec

The spec describing a filter applied to the all the dependencies of this configuration (including dependencies from extended configurations).

abstract fun files(dependencies: Array<Dependency>): Set<File>

Resolves this configuration. This locates and downloads the files which make up this configuration. But only the resulting set of files belonging to the specified dependencies is returned.

#### Return

The files of a subset of dependencies of this configuration.

#### Parameters

dependencies

The dependencies to be resolved