# FileCollectionDependency

interface FileCollectionDependency : Dependency(source)

A `FileCollectionDependency` is a Dependency on a collection of local files which are not stored in a repository.

## 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(@Nullable reason: @Nullable String)
Sets the reason why this dependency should be used.
copy
Link copied to clipboard
abstract fun copy(): Dependency
Creates and returns a new dependency with the property values of this one.
getFiles
Link copied to clipboard
abstract fun getFiles(): FileCollection
Returns the files attached to this dependency.
getGroup
Link copied to clipboard
@Nullable
abstract fun getGroup(): @Nullable String
Returns the group of this dependency.
getName
Link copied to clipboard
abstract fun getName(): String
Returns the name of this dependency.
getReason
Link copied to clipboard
@Nullable
abstract fun getReason(): @Nullable String
Returns a reason why this dependency should be used, in particular with regards to its version.
getVersion
Link copied to clipboard
@Nullable
abstract fun getVersion(): @Nullable String
Returns the version of this dependency.