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.CreationAction |
Constructor and Description |
---|
CopyOutputs(org.gradle.workers.WorkerExecutor workerExecutor) |
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, setVariantName
newInputDirectory, newInputFile, newOutputDirectory, newOutputFile
appendParallelSafeAction, 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 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.util.concurrent.ExecutionException
java.io.IOException
java.util.concurrent.ExecutionException