public abstract class ManifestProcessorTask
extends com.android.build.gradle.internal.tasks.IncrementalTask
Modifier and Type | Field and Description |
---|---|
protected com.android.build.api.artifact.BuildableArtifact |
checkManifestResult |
Constructor and Description |
---|
ManifestProcessorTask(org.gradle.api.model.ObjectFactory objectFactory) |
Modifier and Type | Method and Description |
---|---|
org.gradle.api.provider.Provider<org.gradle.api.file.Directory> |
getAaptFriendlyManifestOutputDirectory()
The aapt friendly processed Manifest.
|
abstract java.io.File |
getAaptFriendlyManifestOutputFile()
The aapt friendly processed Manifest.
|
java.io.File |
getBundleManifestOutputDirectory()
The bundle manifest which is consumed by the bundletool (as opposed to the one packaged with
the apk when built directly).
|
com.android.build.api.artifact.BuildableArtifact |
getCheckManifestResult() |
org.gradle.api.provider.Provider<org.gradle.api.file.Directory> |
getInstantAppManifestOutputDirectory()
The instant app manifest which is used if we are deploying the app as an instant app.
|
org.gradle.api.provider.Provider<org.gradle.api.file.Directory> |
getInstantRunManifestOutputDirectory() |
org.gradle.api.provider.Provider<org.gradle.api.file.Directory> |
getManifestOutputDirectory()
The processed Manifests files folder.
|
java.io.File |
getMetadataFeatureManifestOutputDirectory()
The feature manifest which is consumed by its base feature (as opposed to the one packaged
with the feature APK).
|
java.io.File |
getReportFile() |
protected static java.lang.String |
serializeMap(java.util.Map<java.lang.String,java.lang.Object> mapToSerialize)
Serialize a map key+value pairs into a comma separated list.
|
protected void |
setBundleManifestOutputDirectory(java.io.File bundleManifestOutputDirectory) |
protected void |
setMetadataFeatureManifestOutputDirectory(java.io.File metadataFeatureManifestOutputDirectory) |
void |
setReportFile(java.io.File reportFile) |
doFullTaskAction, doIncrementalTaskAction, getIncrementalFolder, isIncremental, 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
protected com.android.build.api.artifact.BuildableArtifact checkManifestResult
public ManifestProcessorTask(@NonNull org.gradle.api.model.ObjectFactory objectFactory)
@InputFiles @PathSensitive(value=NONE) @Optional public com.android.build.api.artifact.BuildableArtifact getCheckManifestResult()
@Nullable @Internal public abstract java.io.File getAaptFriendlyManifestOutputFile()
@NonNull @OutputDirectory public org.gradle.api.provider.Provider<org.gradle.api.file.Directory> getManifestOutputDirectory()
@OutputDirectory @Optional @NonNull public org.gradle.api.provider.Provider<org.gradle.api.file.Directory> getInstantRunManifestOutputDirectory()
@OutputDirectory @Optional @NonNull public org.gradle.api.provider.Provider<org.gradle.api.file.Directory> getAaptFriendlyManifestOutputDirectory()
@OutputDirectory @Optional public java.io.File getBundleManifestOutputDirectory()
protected void setBundleManifestOutputDirectory(java.io.File bundleManifestOutputDirectory)
@OutputDirectory @Optional public java.io.File getMetadataFeatureManifestOutputDirectory()
protected void setMetadataFeatureManifestOutputDirectory(java.io.File metadataFeatureManifestOutputDirectory)
@OutputDirectory @Optional @NonNull public org.gradle.api.provider.Provider<org.gradle.api.file.Directory> getInstantAppManifestOutputDirectory()
@OutputFile @Optional public java.io.File getReportFile()
public void setReportFile(java.io.File reportFile)
protected static java.lang.String serializeMap(java.util.Map<java.lang.String,java.lang.Object> mapToSerialize)
mapToSerialize
- the map to serialize.