public class PreColdSwapTask
extends com.android.build.gradle.internal.tasks.AndroidVariantTask
The next time they run they will pick up all intermediate changes.
With multi apk (N or above device) resources are packaged in the main split APK. However when a warm swap is possible, it is not necessary to produce immediately the new main SPLIT since the runtime use directly the resources.ap_ file. However, as soon as an incompatible change forcing a cold swap is triggered, the main APK must be rebuilt (even if the resources were changed in a previous build).
Modifier and Type | Class and Description |
---|---|
static class |
PreColdSwapTask.CreationAction |
Constructor and Description |
---|
PreColdSwapTask() |
Modifier and Type | Method and Description |
---|---|
void |
disableBuildTasksAsNeeded() |
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