public class CopyOutputs
extends com.android.build.gradle.internal.tasks.AndroidVariantTask
This is useful when having configuration or feature splits which are located in different folders since they are produced by different tasks.
| Modifier and Type | Class and Description |
|---|---|
static class |
CopyOutputs.ConfigAction |
| Constructor and Description |
|---|
CopyOutputs() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copy() |
com.android.build.api.artifact.BuildableArtifact |
getAbiSplits() |
java.io.File |
getDestinationDir() |
com.android.build.api.artifact.BuildableArtifact |
getFullApks() |
com.android.build.api.artifact.BuildableArtifact |
getResourcesSplits() |
getVariantName, setVariantNamenewInputDirectory, newInputFile, newOutputDirectory, newOutputFileaddValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doFirst, doLast, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString@OutputDirectory public java.io.File getDestinationDir()
@InputFiles public com.android.build.api.artifact.BuildableArtifact getFullApks()
@InputFiles @Optional public com.android.build.api.artifact.BuildableArtifact getAbiSplits()
@InputFiles @Optional public com.android.build.api.artifact.BuildableArtifact getResourcesSplits()
protected void copy()
throws java.io.IOException
java.io.IOException