@CacheableTask
public class MergeResources
extends com.android.build.gradle.internal.tasks.IncrementalTask
Modifier and Type | Class and Description |
---|---|
static class |
MergeResources.CreationAction |
static class |
MergeResources.Flag |
Constructor and Description |
---|
MergeResources(org.gradle.workers.WorkerExecutor workerExecutor) |
Modifier and Type | Method and Description |
---|---|
protected void |
doFullTaskAction() |
protected void |
doIncrementalTaskAction(java.util.Map<java.io.File,com.android.ide.common.resources.FileStatus> changedInputs) |
org.gradle.api.file.FileCollection |
getAapt2FromMaven() |
java.io.File |
getBlameLogFolder() |
java.lang.String |
getBuildToolsVersion() |
boolean |
getCrunchPng() |
java.io.File |
getDataBindingLayoutInfoOutFolder() |
org.gradle.api.file.FileCollection |
getExtraGeneratedResFolders() |
java.lang.String |
getFlags() |
java.util.Collection<java.lang.String> |
getGeneratedDensities() |
java.io.File |
getGeneratedPngsOutputDir() |
org.gradle.api.file.FileCollection |
getGeneratedResOutputDir() |
org.gradle.api.file.FileCollection |
getLibraries() |
java.io.File |
getMergedNotCompiledResourcesOutputDirectory() |
org.gradle.api.file.FileCollection |
getMicroApkResDirectory() |
int |
getMinSdk() |
java.io.File |
getOutputDir() |
boolean |
getProcessResources() |
java.io.File |
getPublicFile() |
org.gradle.api.file.FileCollection |
getRenderscriptResOutputDir() |
java.util.Collection<com.android.build.api.artifact.BuildableArtifact> |
getResources() |
java.util.Collection<java.io.File> |
getSourceFolderInputs() |
protected boolean |
isIncremental() |
boolean |
isPseudoLocalesEnabled() |
boolean |
isValidateEnabled() |
boolean |
isVectorSupportLibraryUsed() |
void |
setBlameLogFolder(java.io.File blameLogFolder) |
void |
setOutputDir(java.io.File outputDir) |
void |
setPublicFile(java.io.File publicFile) |
void |
setResources(java.util.Map<java.lang.String,com.android.build.api.artifact.BuildableArtifact> resources) |
getIncrementalFolder, setIncrementalFolder
getBuilder, getBuildTools, getILogger, setAndroidBuilder
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 MergeResources(org.gradle.workers.WorkerExecutor workerExecutor)
@Input public java.lang.String getBuildToolsVersion()
protected boolean isIncremental()
isIncremental
in class com.android.build.gradle.internal.tasks.IncrementalTask
@Nullable @OutputDirectory @Optional public java.io.File getDataBindingLayoutInfoOutFolder()
protected void doFullTaskAction() throws java.io.IOException, javax.xml.bind.JAXBException
doFullTaskAction
in class com.android.build.gradle.internal.tasks.IncrementalTask
java.io.IOException
javax.xml.bind.JAXBException
protected void doIncrementalTaskAction(java.util.Map<java.io.File,com.android.ide.common.resources.FileStatus> changedInputs) throws java.io.IOException, javax.xml.bind.JAXBException
doIncrementalTaskAction
in class com.android.build.gradle.internal.tasks.IncrementalTask
java.io.IOException
javax.xml.bind.JAXBException
@InputFiles @PathSensitive(value=RELATIVE) public org.gradle.api.file.FileCollection getRenderscriptResOutputDir()
@InputFiles @PathSensitive(value=RELATIVE) public org.gradle.api.file.FileCollection getGeneratedResOutputDir()
@InputFiles @PathSensitive(value=RELATIVE) @Optional public org.gradle.api.file.FileCollection getMicroApkResDirectory()
@InputFiles @PathSensitive(value=RELATIVE) @Optional public org.gradle.api.file.FileCollection getExtraGeneratedResFolders()
@Optional @InputFiles @PathSensitive(value=RELATIVE) public org.gradle.api.file.FileCollection getLibraries()
@InputFiles @PathSensitive(value=RELATIVE) public java.util.Collection<java.io.File> getSourceFolderInputs()
@OutputDirectory public java.io.File getOutputDir()
public void setOutputDir(java.io.File outputDir)
@Input public boolean getCrunchPng()
@Input public boolean getProcessResources()
@Optional @OutputFile public java.io.File getPublicFile()
public void setPublicFile(java.io.File publicFile)
@Input public boolean isValidateEnabled()
@OutputDirectory @Optional public java.io.File getBlameLogFolder()
public void setBlameLogFolder(java.io.File blameLogFolder)
@Optional @OutputDirectory public java.io.File getGeneratedPngsOutputDir()
@Input public java.util.Collection<java.lang.String> getGeneratedDensities()
@Input public int getMinSdk()
@Input public boolean isVectorSupportLibraryUsed()
@InputFiles @Optional @PathSensitive(value=RELATIVE) @Nullable public org.gradle.api.file.FileCollection getAapt2FromMaven()
@Nullable @OutputDirectory @Optional public java.io.File getMergedNotCompiledResourcesOutputDirectory()
@Input public boolean isPseudoLocalesEnabled()
@Input public java.lang.String getFlags()
@InputFiles @PathSensitive(value=RELATIVE) public java.util.Collection<com.android.build.api.artifact.BuildableArtifact> getResources()
public void setResources(java.util.Map<java.lang.String,com.android.build.api.artifact.BuildableArtifact> resources)