com.android.builder.model
Interface AndroidArtifactOutput


public interface AndroidArtifactOutput

The Actual output for a AndroidArtifact


Method Summary
 java.lang.String abiFilter()
          The ABI filter if applicable.
 java.lang.String densityFilter()
          The density filter if applicable.
 java.lang.String getAssembleTaskName()
          Returns the name of the task used to generate this artifact output.
 java.io.File getGeneratedManifest()
          The generated manifest for this variant's artifact's output.
 java.io.File getOutputFile()
          Returns the output file for this artifact's output.
 int versionCode()
          The output versionCode.
 

Method Detail

getOutputFile

@NonNull
java.io.File getOutputFile()
Returns the output file for this artifact's output. Depending on whether the project is an app or a library project, this could be an apk or an aar file. For test artifact for a library project, this would also be an apk.

Returns:
the output file.

getAssembleTaskName

@NonNull
java.lang.String getAssembleTaskName()
Returns the name of the task used to generate this artifact output.

Returns:
the name of the task.

getGeneratedManifest

@NonNull
java.io.File getGeneratedManifest()
The generated manifest for this variant's artifact's output.


versionCode

int versionCode()
The output versionCode. In case of multi-apk, the version code of each apk is different.

Returns:
the versionCode

densityFilter

@Nullable
java.lang.String densityFilter()
The density filter if applicable.

Returns:
the density filter or null if not applicable.

abiFilter

@Nullable
java.lang.String abiFilter()
The ABI filter if applicable.

Returns:
the ABI filter or null if not applicable.