Buildable
, Dependency
, SelfResolvingDependency
public interface FileCollectionDependency extends SelfResolvingDependency
FileCollectionDependency
is a Dependency
on a collection of local files which are not stored in a
repository.ARCHIVES_CONFIGURATION, CLASSIFIER, DEFAULT_CONFIGURATION
Modifier and Type | Method | Description |
---|---|---|
TaskDependency |
getBuildDependencies() |
Deprecated.
This class will no longer implement
SelfResolvingDependency in Gradle 9.0. |
FileCollection |
getFiles() |
Returns the files attached to this dependency.
|
java.util.Set<java.io.File> |
resolve() |
Deprecated.
This class will no longer implement
SelfResolvingDependency in Gradle 9.0. |
java.util.Set<java.io.File> |
resolve(boolean transitive) |
Deprecated.
This class will no longer implement
SelfResolvingDependency in Gradle 9.0. |
because, contentEquals, copy, getGroup, getName, getReason, getVersion
FileCollection getFiles()
@Deprecated TaskDependency getBuildDependencies()
SelfResolvingDependency
in Gradle 9.0.Buildable
implementations
must ensure that the returned dependency object is live, so that it tracks changes to the dependencies of this
buildable.getBuildDependencies
in interface Buildable
@Deprecated java.util.Set<java.io.File> resolve()
SelfResolvingDependency
in Gradle 9.0. Use getFiles()
instead.ProjectDependency
is resolved with transitive equals true
by this method.resolve
in interface SelfResolvingDependency
SelfResolvingDependency.resolve(boolean)
@Deprecated java.util.Set<java.io.File> resolve(boolean transitive)
SelfResolvingDependency
in Gradle 9.0. Use getFiles()
instead.ProjectDependency
. In this case, if transitive is false
,
only the self resolving dependencies of the project configuration which are no project dependencies are resolved. If transitive
is set to true, other project dependencies belonging to the configuration of the resolved project dependency are
resolved recursively.resolve
in interface SelfResolvingDependency
transitive
- Whether to resolve transitively. Has only an effect on a ProjectDependency