Package com.android.builder.model.level2
Interface GraphItem
public interface GraphItem
A node in a dependency graph, representing a direct or transitive dependency.
This does not directly contain artifact information, instead it focuses on the graph
information (transitive dependencies) as well as the usage of this particular dependency
in this node of the graph (ie what are its modifiers: what version was originally requested.)
- Since:
- 2.3
-
Method Summary
Modifier and TypeMethodDescriptionReturns the artifact address in a unique way.Return the direct dependency of this node.Returns this library's Maven coordinates, as requested in the build file.
-
Method Details
-
getArtifactAddress
Returns the artifact address in a unique way. This is either a module path for sub-modules, or a maven coordinate for external dependencies. The maven coordinates are in the format: groupId:artifactId:version[:classifier][@extension] -
getRequestedCoordinates
Returns this library's Maven coordinates, as requested in the build file. -
getDependencies
Return the direct dependency of this node.
-