@CacheableTask public class ProcessApplicationManifest extends ManifestProcessorTask
Modifier and Type | Class and Description |
---|---|
static class |
ProcessApplicationManifest.CreationAction |
checkManifestResult
Constructor and Description |
---|
ProcessApplicationManifest(org.gradle.api.model.ObjectFactory objectFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
doFullTaskAction() |
java.io.File |
getAaptFriendlyManifestOutputFile()
The aapt friendly processed Manifest.
|
com.android.build.api.artifact.BuildableArtifact |
getApkList() |
static java.lang.String |
getArtifactName(org.gradle.api.artifacts.result.ResolvedArtifactResult artifact) |
com.android.build.api.artifact.BuildableArtifact |
getCompatibleScreensManifest() |
org.gradle.api.file.FileCollection |
getFeatureManifests() |
java.lang.String |
getFeatureName() |
java.io.File |
getMainManifest() |
java.util.List<java.io.File> |
getManifestOverlays() |
java.lang.String |
getManifestPlaceholders()
Returns a serialized version of our map of key value pairs for placeholder substitution.
|
org.gradle.api.file.FileCollection |
getManifests() |
java.lang.Integer |
getMaxSdkVersion() |
org.gradle.api.file.FileCollection |
getMicroApkManifest() |
java.lang.String |
getMinSdkVersion() |
java.util.List<java.io.File> |
getNavigationFiles() |
java.util.EnumSet<com.android.manifmerger.ManifestMerger2.Invoker.Feature> |
getOptionalFeatures()
Not an input, see
getOptionalFeaturesString() . |
java.util.List<java.lang.String> |
getOptionalFeaturesString()
Synthetic input for
getOptionalFeatures() |
org.gradle.api.file.FileCollection |
getPackageManifest() |
java.lang.String |
getPackageOverride() |
java.lang.String |
getTargetSdkVersion() |
com.android.build.gradle.internal.core.VariantConfiguration |
getVariantConfiguration() |
java.util.List<java.lang.Integer> |
getVersionCodes() |
java.util.List<java.lang.String> |
getVersionNames() |
void |
setVariantConfiguration(com.android.build.gradle.internal.core.VariantConfiguration<com.android.build.gradle.internal.dsl.CoreBuildType,com.android.build.gradle.internal.dsl.CoreProductFlavor,com.android.build.gradle.internal.dsl.CoreProductFlavor> variantConfiguration) |
getAaptFriendlyManifestOutputDirectory, getBundleManifestOutputDirectory, getCheckManifestResult, getInstantAppManifestOutputDirectory, getInstantRunManifestOutputDirectory, getManifestOutputDirectory, getMetadataFeatureManifestOutputDirectory, getReportFile, serializeMap, setBundleManifestOutputDirectory, setMetadataFeatureManifestOutputDirectory, setReportFile
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
@Inject public ProcessApplicationManifest(org.gradle.api.model.ObjectFactory objectFactory)
protected void doFullTaskAction() throws java.io.IOException
doFullTaskAction
in class com.android.build.gradle.internal.tasks.IncrementalTask
java.io.IOException
@Nullable @Internal public java.io.File getAaptFriendlyManifestOutputFile()
ManifestProcessorTask
getAaptFriendlyManifestOutputFile
in class ManifestProcessorTask
@Optional @InputFile @PathSensitive(value=RELATIVE) public java.io.File getMainManifest()
@InputFiles @PathSensitive(value=RELATIVE) public java.util.List<java.io.File> getManifestOverlays()
@Input @Optional public java.lang.String getPackageOverride()
@Input public java.util.List<java.lang.Integer> getVersionCodes()
@Input @Optional public java.util.List<java.lang.String> getVersionNames()
@Input @Optional public java.lang.String getManifestPlaceholders()
@NonNull @Internal public static java.lang.String getArtifactName(@NonNull org.gradle.api.artifacts.result.ResolvedArtifactResult artifact)
@Input @Optional public java.lang.String getMinSdkVersion()
@Input @Optional public java.lang.String getTargetSdkVersion()
@Input @Optional public java.lang.Integer getMaxSdkVersion()
@Internal public java.util.EnumSet<com.android.manifmerger.ManifestMerger2.Invoker.Feature> getOptionalFeatures()
getOptionalFeaturesString()
.@Input public java.util.List<java.lang.String> getOptionalFeaturesString()
getOptionalFeatures()
@Internal public com.android.build.gradle.internal.core.VariantConfiguration getVariantConfiguration()
public void setVariantConfiguration(com.android.build.gradle.internal.core.VariantConfiguration<com.android.build.gradle.internal.dsl.CoreBuildType,com.android.build.gradle.internal.dsl.CoreProductFlavor,com.android.build.gradle.internal.dsl.CoreProductFlavor> variantConfiguration)
@InputFiles @PathSensitive(value=RELATIVE) public org.gradle.api.file.FileCollection getManifests()
@InputFiles @PathSensitive(value=RELATIVE) public java.util.List<java.io.File> getNavigationFiles()
@InputFiles @Optional @PathSensitive(value=RELATIVE) public org.gradle.api.file.FileCollection getFeatureManifests()
@InputFiles @Optional @PathSensitive(value=RELATIVE) public org.gradle.api.file.FileCollection getMicroApkManifest()
@InputFiles @Optional @PathSensitive(value=RELATIVE) public com.android.build.api.artifact.BuildableArtifact getCompatibleScreensManifest()
@InputFiles @Optional @PathSensitive(value=RELATIVE) public org.gradle.api.file.FileCollection getPackageManifest()
@Input @Optional public java.lang.String getFeatureName()
@InputFiles @PathSensitive(value=RELATIVE) public com.android.build.api.artifact.BuildableArtifact getApkList()