Package org.gradle.api.artifacts
Interface ResolvedDependency
public interface ResolvedDependency
Information about a resolved dependency.
- 
Method SummaryModifier and TypeMethodDescriptiongetAllArtifacts(ResolvedDependency parent) Returns the parent artifacts of this dependency and its children.Returns the module artifacts belonging to this ResolvedDependency and recursively to its children.getArtifacts(ResolvedDependency parent) Returns the parent artifacts of this dependency.Returns the transitive ResolvedDependency instances of this resolved dependency.Returns the configuration under which this instance was resolved.Returns the module which this resolved dependency belongs to.Returns the module artifacts belonging to this ResolvedDependency.Returns the module group of the resolved dependency.Returns the module name of the resolved dependency.Returns the module version of the resolved dependency.getName()Returns the name of the resolved dependency.getParentArtifacts(ResolvedDependency parent) Returns the artifacts belonging to this ResolvedDependency which it only has for a particular parent.Returns the ResolvedDependency instances that have this instance as a transitive dependency.
- 
Method Details- 
getNameString getName()Returns the name of the resolved dependency.
- 
getModuleGroupString getModuleGroup()Returns the module group of the resolved dependency.
- 
getModuleNameString getModuleName()Returns the module name of the resolved dependency.
- 
getModuleVersionString getModuleVersion()Returns the module version of the resolved dependency.
- 
getConfigurationString getConfiguration()Returns the configuration under which this instance was resolved.
- 
getModuleResolvedModuleVersion getModule()Returns the module which this resolved dependency belongs to.- Returns:
- The module.
 
- 
getChildrenSet<ResolvedDependency> getChildren()Returns the transitive ResolvedDependency instances of this resolved dependency. Returns never null.
- 
getParentsSet<ResolvedDependency> getParents()Returns the ResolvedDependency instances that have this instance as a transitive dependency. Returns never null.
- 
getModuleArtifactsSet<ResolvedArtifact> getModuleArtifacts()Returns the module artifacts belonging to this ResolvedDependency. A module artifact is an artifact that belongs to a ResolvedDependency independent of a particular parent. Returns never null.
- 
getAllModuleArtifactsSet<ResolvedArtifact> getAllModuleArtifacts()Returns the module artifacts belonging to this ResolvedDependency and recursively to its children. Returns never null.- See Also:
 
- 
getParentArtifactsReturns the artifacts belonging to this ResolvedDependency which it only has for a particular parent. Returns never null.- Parameters:
- parent- A parent of the ResolvedDependency. Must not be null.
- Throws:
- InvalidUserDataException- If the parent is unknown or null
 
- 
getArtifactsReturns the parent artifacts of this dependency. Never returns null.- Parameters:
- parent- A parent of the ResolvedDependency. Must not be null.
- Throws:
- InvalidUserDataException- If the parent is unknown or null
 
- 
getAllArtifactsReturns the parent artifacts of this dependency and its children. Never returns null.- Parameters:
- parent- A parent of the ResolvedDependency. Must not be null.
- Throws:
- InvalidUserDataException- If the parent is unknown or null
 
 
-