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.ConfigAction |
| Constructor and Description |
|---|
PreColdSwapTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
disableBuildTasksAsNeeded() |
getVariantName, setVariantNameaddValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, newInputFile, newOutputDirectory, newOutputFile, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString