@CacheableTask
public class SplitsDiscovery
extends com.android.build.gradle.internal.tasks.AndroidBuilderTask
Task that will populate the SplitList variant scoped object keeping the list of pure
splits that should be built for this variant.
The task will also persist the list of splits in a gson file for consumption on subsequent builds when there is no input changes to avoid rerunning it.
| Modifier and Type | Class and Description |
|---|---|
static class |
SplitsDiscovery.ConfigAction |
| Constructor and Description |
|---|
SplitsDiscovery() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
discoverListOfResourceConfigsNotDensities() |
boolean |
isAapt2Enabled() |
boolean |
isResConfigAuto() |
getBuilder, getBuildTools, getILogger, setAndroidBuildergetVariantName, 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, 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