public abstract class CopyOutputs
extends com.android.build.gradle.internal.tasks.NonIncrementalTask
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.CreationAction |
| Constructor and Description |
|---|
CopyOutputs(org.gradle.workers.WorkerExecutor workerExecutor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doTaskAction() |
abstract org.gradle.api.file.DirectoryProperty |
getAbiSplits() |
abstract org.gradle.api.file.DirectoryProperty |
getDestinationDir() |
abstract org.gradle.api.file.DirectoryProperty |
getFullApks() |
abstract org.gradle.api.file.DirectoryProperty |
getResourcesSplits() |
getVariantName, recordTaskAction, setVariantNamenewInputDirectory, newInputFile, newOutputDirectory, newOutputFileappendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString@Inject public CopyOutputs(org.gradle.workers.WorkerExecutor workerExecutor)
@OutputDirectory public abstract org.gradle.api.file.DirectoryProperty getDestinationDir()
@InputFiles public abstract org.gradle.api.file.DirectoryProperty getFullApks()
@InputFiles @Optional public abstract org.gradle.api.file.DirectoryProperty getAbiSplits()
@InputFiles @Optional public abstract org.gradle.api.file.DirectoryProperty getResourcesSplits()
protected void doTaskAction()
throws java.io.IOException,
java.util.concurrent.ExecutionException
doTaskAction in class com.android.build.gradle.internal.tasks.NonIncrementalTaskjava.io.IOExceptionjava.util.concurrent.ExecutionException