@Immutable public final class JavaDependency extends Dependency
| Constructor and Description |
|---|
JavaDependency(java.io.File artifactFile) |
JavaDependency(java.io.File artifactFile,
com.android.builder.model.MavenCoordinates coordinates,
java.lang.String name,
java.lang.String projectPath) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<java.io.File> |
getAdditionalClasspath() |
java.io.File |
getClasspathFile() |
static MavenCoordinatesImpl |
getCoordForLocalJar(java.io.File jarFile) |
int |
hashCode() |
boolean |
isLocal()
Returns if the dependency is a local jar, i.e.
|
java.lang.String |
toString() |
getAddress, getArtifactFile, getCoordinates, getName, getProjectPathpublic JavaDependency(@NonNull
java.io.File artifactFile,
@NonNull
com.android.builder.model.MavenCoordinates coordinates,
@NonNull
java.lang.String name,
@Nullable
java.lang.String projectPath)
public JavaDependency(@NonNull
java.io.File artifactFile)
@NonNull public java.io.File getClasspathFile()
getClasspathFile in class Dependency@Nullable public java.util.List<java.io.File> getAdditionalClasspath()
getAdditionalClasspath in class Dependencypublic boolean isLocal()
isLocal in class Dependencypublic boolean equals(java.lang.Object o)
equals in class Dependencypublic int hashCode()
hashCode in class Dependency@NonNull public static MavenCoordinatesImpl getCoordForLocalJar(@NonNull java.io.File jarFile)
public java.lang.String toString()
toString in class java.lang.Object