com.android.build.gradle.tasks
[Groovy] Class MergeManifests

java.lang.Object
  com.android.build.gradle.internal.tasks.IncrementalTask
      com.android.build.gradle.tasks.ManifestProcessorTask
          com.android.build.gradle.tasks.MergeManifests

class MergeManifests
extends ManifestProcessorTask

A task that processes the manifest


Property Summary
java.util.List libraries

java.lang.String minSdkVersion

java.lang.String targetSdkVersion

VariantConfiguration variantConfiguration

 
Method Summary
protected void doFullTaskAction()

java.util.List getLibraryManifests()

since libraries above can't return it's input files (@Nested doesn't work on lists), so do a method that will gather them and return them.

java.io.File getMainManifest()

java.util.List getManifestOverlays()

java.lang.String getManifestPlaceholders()

Return a serializable version of our map of key value pairs for placeholder substitution.

java.lang.String getPackageOverride()

int getVersionCode()

java.lang.String getVersionName()

 
Methods inherited from class ManifestProcessorTask
serializeMap
 

Property Detail

libraries

java.util.List libraries


minSdkVersion

@Input
@Optional
java.lang.String minSdkVersion


targetSdkVersion

@Input
@Optional
java.lang.String targetSdkVersion


variantConfiguration

VariantConfiguration variantConfiguration


 
Method Detail

doFullTaskAction

@Override
protected void doFullTaskAction()


getLibraryManifests

@InputFiles
java.util.List getLibraryManifests()
since libraries above can't return it's input files (
Nested:
doesn't work on lists), so do a method that will gather them and return them.


getMainManifest

@InputFile
java.io.File getMainManifest()


getManifestOverlays

@InputFiles
java.util.List getManifestOverlays()


getManifestPlaceholders

@Input
@Optional
java.lang.String getManifestPlaceholders()
Return a serializable version of our map of key value pairs for placeholder substitution. This serialized form is only used by gradle to compare past and present tasks to determine whether a task need to be re-run or not.


getPackageOverride

@Input
@Optional
java.lang.String getPackageOverride()


getVersionCode

@Input
int getVersionCode()


getVersionName

@Input
@Optional
java.lang.String getVersionName()


 

Copyright (C) 2012 The Android Open Source Project