public abstract class ExtractedDependency extends Dependency implements com.android.manifmerger.ManifestProvider
| Constructor and Description |
|---|
ExtractedDependency(java.io.File artifactFile,
com.android.builder.model.MavenCoordinates coordinates,
java.lang.String name,
java.lang.String projectPath,
java.io.File extractedFolder,
java.lang.String variant)
Creates the mBundle dependency with an optional mName.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getAddress()
Returns a unique address that matches
DependencyNode.getAddress(). |
java.io.File |
getAssetsFolder() |
java.io.File |
getClasspathFile() |
java.io.File |
getExtractedFolder() |
abstract java.io.File |
getJarFile()
Returns the location of the jar file to use for either packaging or compiling depending on
the bundle type.
|
java.io.File |
getManifest() |
java.io.File |
getResFolder() |
java.lang.String |
getVariant()
Returns an optional configuration name if the library is output by a module
that publishes more than one variant.
|
int |
hashCode() |
getAdditionalClasspath, getArtifactFile, getCoordinates, getName, getProjectPath, isLocalpublic ExtractedDependency(@Nullable
java.io.File artifactFile,
@NonNull
com.android.builder.model.MavenCoordinates coordinates,
@NonNull
java.lang.String name,
@Nullable
java.lang.String projectPath,
@NonNull
java.io.File extractedFolder,
@Nullable
java.lang.String variant)
artifactFile - the dependency's artifact file.coordinates - the maven coordinates of the artifactname - the dependency's user friendly nameprojectPath - an optional project path.extractedFolder - the folder containing the unarchived library content.@NonNull public java.lang.Object getAddress()
DependencyNode.getAddress().getAddress in class Dependency@NonNull public java.io.File getExtractedFolder()
@Nullable public java.lang.String getVariant()
@NonNull public java.io.File getManifest()
getManifest in interface com.android.manifmerger.ManifestProvider@NonNull public java.io.File getResFolder()
@NonNull public java.io.File getAssetsFolder()
@NonNull public abstract java.io.File getJarFile()
@NonNull public java.io.File getClasspathFile()
getClasspathFile in class Dependencypublic boolean equals(java.lang.Object o)
equals in class Dependencypublic int hashCode()
hashCode in class Dependency