public class InstantRunResourcesApkBuilder
extends com.android.build.gradle.internal.tasks.AndroidBuilderTask
Right now, there is only one packaged resources file in InstantRun mode, but we could decide to slice the resources in the future.
Modifier and Type | Class and Description |
---|---|
static class |
InstantRunResourcesApkBuilder.CreationAction |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
APK_FILE_NAME |
Constructor and Description |
---|
InstantRunResourcesApkBuilder(org.gradle.workers.WorkerExecutor workerExecutor) |
Modifier and Type | Method and Description |
---|---|
protected void |
doFullTaskAction() |
java.io.File |
getOutputDirectory() |
java.lang.String |
getPatchingPolicy() |
protected com.android.build.gradle.internal.scope.BuildElements |
getResInputBuildArtifacts() |
java.lang.String |
getResInputType() |
com.android.build.api.artifact.BuildableArtifact |
getResourcesFile() |
org.gradle.api.file.FileCollection |
getSigningConf() |
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
public static final java.lang.String APK_FILE_NAME
@Inject public InstantRunResourcesApkBuilder(org.gradle.workers.WorkerExecutor workerExecutor)
@InputFiles public org.gradle.api.file.FileCollection getSigningConf()
@Input public java.lang.String getResInputType()
@Input public java.lang.String getPatchingPolicy()
@InputFiles public com.android.build.api.artifact.BuildableArtifact getResourcesFile()
@OutputDirectory public java.io.File getOutputDirectory()
protected void doFullTaskAction()
protected com.android.build.gradle.internal.scope.BuildElements getResInputBuildArtifacts()