Class Dependency
java.lang.Object
com.android.builder.dependency.level2.Dependency
- Direct Known Subclasses:
ExtractedDependency,JavaDependency
Base attributes for a dependency element.
All implementations must enforce immutability.
-
Constructor Summary
ConstructorsConstructorDescriptionDependency(File artifactFile, com.android.builder.model.MavenCoordinates coordinates, String name, String projectPath) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns a unique address that matchesDependencyNode.getAddress().Returns the artifact location.abstract Filecom.android.builder.model.MavenCoordinatesReturns the maven coordinates.getName()Returns a user friendly name.Returns an optional project path if the dependency is a sub-module.inthashCode()booleanisLocal()
-
Constructor Details
-
Dependency
-
-
Method Details
-
getAddress
Returns a unique address that matchesDependencyNode.getAddress(). -
getArtifactFile
Returns the artifact location. -
getClasspathFile
-
getAdditionalClasspath
-
getCoordinates
@NonNull public com.android.builder.model.MavenCoordinates getCoordinates()Returns the maven coordinates. -
getName
Returns a user friendly name. -
getProjectPath
Returns an optional project path if the dependency is a sub-module. -
isLocal
public boolean isLocal() -
equals
-
hashCode
public int hashCode()
-