public interface SelfResolvingDependency extends Dependency, Buildable
SelfResolvingDependency
is a Dependency
which is able to resolve itself, independent of a
repository.ARCHIVES_CONFIGURATION, CLASSIFIER, DEFAULT_CONFIGURATION
Modifier and Type | Method and Description |
---|---|
Set<File> |
resolve()
Resolves this dependency.
|
Set<File> |
resolve(boolean transitive)
Resolves this dependency by specifying the transitive mode.
|
contentEquals, copy, getGroup, getName, getVersion
getBuildDependencies
Set<File> resolve()
ProjectDependency
is resolved with transitive equals true
by this method.resolve(boolean)
Set<File> resolve(boolean transitive)
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.transitive
- Whether to resolve transitively. Has only an effect on a ProjectDependency