Package org.gradle.api.artifacts
Schnittstelle SelfResolvingDependency
- Alle Superschnittstellen:
Buildable,Dependency
- Alle bekannten Unterschnittstellen:
FileCollectionDependency,ProjectDependency
Veraltet.
Dependencies should not be resolved outside a resolvable configuration. To resolve this dependency,
add it to a resolvable configuration and resolve that configuration.
A
SelfResolvingDependency is a Dependency which is able to resolve itself, independent of a
repository.-
Feldübersicht
Von Schnittstelle geerbte Felder org.gradle.api.artifacts.Dependency
ARCHIVES_CONFIGURATION, CLASSIFIER, DEFAULT_CONFIGURATION -
Methodenübersicht
Von Schnittstelle geerbte Methoden org.gradle.api.Buildable
getBuildDependenciesVon Schnittstelle geerbte Methoden org.gradle.api.artifacts.Dependency
because, contentEquals, copy, getGroup, getName, getReason, getVersion
-
Methodendetails
-
resolve
Veraltet.Resolves this dependency. AProjectDependencyis resolved with transitive equals true by this method.- Gibt zurück:
- The files which make up this dependency.
- Siehe auch:
-
resolve
Veraltet.Resolves this dependency by specifying the transitive mode. This mode has only an effect if the self resolved dependency is of typeProjectDependency. In this case, if transitive isfalse, 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.- Parameter:
transitive- Whether to resolve transitively. Has only an effect on aProjectDependency- Gibt zurück:
- The files which make up this dependency.
-