public interface AndroidArtifact extends BaseArtifact
Variant. This can be more than one
output in the case of multi-apk where more than one APKs are generated from the same set
of sources.| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
getAbiFilters()
Returns the ABI filters associated with the artifact, or null if there are no filters.
|
java.lang.String |
getApplicationId()
Returns the application id of this artifact.
|
java.util.Map<java.lang.String,ClassField> |
getBuildConfigFields()
Map of Build Config Fields where the key is the field name.
|
java.util.Collection<java.io.File> |
getGeneratedResourceFolders()
Returns all the resource folders that are generated.
|
java.util.Collection<java.io.File> |
getGeneratedSourceFolders()
Returns all the source folders that are generated.
|
InstantRun |
getInstantRun()
Returns the InstantRun feature related model.
|
java.util.Collection<NativeLibrary> |
getNativeLibraries()
Returns the native libraries associated with the artifact.
|
java.util.Collection<AndroidArtifactOutput> |
getOutputs() |
java.util.Map<java.lang.String,ClassField> |
getResValues()
Map of generated res values where the key is the res name.
|
java.lang.String |
getSigningConfigName()
Returns the name of the
SigningConfig used for the signing. |
java.lang.String |
getSourceGenTaskName()
Returns the name of the task used to generate the source code.
|
boolean |
isSigned()
Returns whether the output file is signed.
|
getAdditionalClassesFolders, getAssembleTaskName, getClassesFolder, getCompileDependencies, getCompileTaskName, getDependencies, getDependencyGraphs, getIdeSetupTaskNames, getJavaResourcesFolder, getMultiFlavorSourceProvider, getName, getVariantSourceProvider@NonNull java.util.Collection<AndroidArtifactOutput> getOutputs()
boolean isSigned()
@Nullable java.lang.String getSigningConfigName()
SigningConfig used for the signing. If none are setup or
if this is the main artifact of a library project, then this is null.@NonNull java.lang.String getApplicationId()
@NonNull java.lang.String getSourceGenTaskName()
@NonNull java.util.Collection<java.io.File> getGeneratedSourceFolders()
getGeneratedSourceFolders in interface BaseArtifact@NonNull java.util.Collection<java.io.File> getGeneratedResourceFolders()
@Nullable java.util.Set<java.lang.String> getAbiFilters()
@Nullable java.util.Collection<NativeLibrary> getNativeLibraries()
@NonNull java.util.Map<java.lang.String,ClassField> getBuildConfigFields()
@NonNull java.util.Map<java.lang.String,ClassField> getResValues()
@NonNull InstantRun getInstantRun()