A Build variant output and all its public data. This is the base class for items common to apps, test apps, and libraries
Type | Name and description |
---|---|
org.gradle.api.Task |
getAssemble() Returns the assemble task for this particular output |
String |
getBaseName() Returns the base name for the output of the variant. |
String |
getDirName() Returns a subfolder name for the variant output. |
String |
getName() Returns the name of the variant. |
File |
getOutputFile() Returns the output file for this build variants. |
ManifestProcessorTask |
getProcessManifest() Returns the Manifest processing task. |
ProcessAndroidResources |
getProcessResources() Returns the Android Resources processing task. |
void |
setOutputFile(File outputFile) |
Methods inherited from class | Name |
---|---|
interface com.android.build.VariantOutput |
com.android.build.VariantOutput#getOutputs(), com.android.build.VariantOutput#getVersionCode(), com.android.build.VariantOutput#getMainOutputFile(), com.android.build.VariantOutput#getSplitFolder() |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Returns the assemble task for this particular output
Returns the base name for the output of the variant. Guaranteed to be unique.
Returns a subfolder name for the variant output. Guaranteed to be unique. This is usually a mix of build type and flavor(s) (if applicable). For instance this could be: "debug" "debug/myflavor" "release/Flavor1Flavor2"
Returns the name of the variant. Guaranteed to be unique.
Returns the output file for this build variants. Depending on the configuration, this could be an apk (regular and test project) or a bundled library (library project). If it's an apk, it could be signed, or not; zip-aligned, or not.
Returns the Manifest processing task.
Returns the Android Resources processing task.