Overview
Package
Class
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
_
A
aaptOptions
(Action)
- Method in
BaseExtension
addApplicationVariant
(ApplicationVariant)
- Method in
AppExtension
addDependency
(ResolvedComponentResult, VariantDependencies, Collection, Map, Map, Map, Multimap)
- Method in
BasePlugin
addDependencyToPrepareTask
(BaseVariantData, PrepareDependenciesTask, LibraryDependencyImpl)
- Method in
BasePlugin
addJavaSourceFoldersToModel
(Collection)
- Method in
BaseVariant
Adds new Java source folders to the model.
addLibraryVariant
(LibraryVariant)
- Method in
LibraryExtension
addPackageTasks
(ApkVariantData, Task)
- Method in
BasePlugin
Creates the packaging tasks for the given Variant.
addTestVariant
(TestVariant)
- Method in
BaseExtension
aidl
(Closure)
- Method in
AndroidSourceSet
Configures the location of the Android AIDL source for this set.
AidlCompile
- Class in
com.android.build.gradle.tasks
Task to compile aidl files.
AndroidSourceDirectorySet
- Interface in
com.android.build.gradle.api
An AndroidSourceDirectorySet represents a lit of directory input for an Android project.
AndroidSourceFile
- Interface in
com.android.build.gradle.api
An AndroidSourceFile represents a single file input for an Android project.
AndroidSourceSet
- Interface in
com.android.build.gradle.api
A
AndroidSourceSet
represents a logical group of Java, aidl, renderscript source as well as Android and non-Android resources.
ApkVariant
- Interface in
com.android.build.gradle.api
A Build variant and all its public data.
AppExtension
- Class in
com.android.build.gradle
Extension for 'application' project.
AppExtension
(AppPlugin, ProjectInternal, Instantiator, NamedDomainObjectContainer, NamedDomainObjectContainer, NamedDomainObjectContainer)
- Constructor in
AppExtension
ApplicationVariant
- Interface in
com.android.build.gradle.api
A Build variant and all its public data.
apply
(Project)
- Method in
AppPlugin
apply
(Project)
- Method in
BasePlugin
apply
(Project)
- Method in
LibraryPlugin
apply
(Project)
- Method in
ReportingPlugin
AppPlugin
- Class in
com.android.build.gradle
Gradle plugin class for 'application' projects.
AppPlugin
(Instantiator, ToolingModelBuilderRegistry)
- Constructor in
AppPlugin
assembleTest
- Field in
BasePlugin
assets
(Closure)
- Method in
AndroidSourceSet
Configures the location of the Android Assets for this set.
B
BaseExtension
- Class in
com.android.build.gradle
Base android extension for all android plugins.
BaseExtension
(BasePlugin, ProjectInternal, Instantiator)
- Constructor in
BaseExtension
BasePlugin
- Class in
com.android.build.gradle
Base class for all Android plugins
BasePlugin
(Instantiator, ToolingModelBuilderRegistry)
- Constructor in
BasePlugin
BaseVariant
- Interface in
com.android.build.gradle.api
A Build variant and all its public data.
basicCreateMergeResourcesTask
(BaseVariantData, String, String, boolean, boolean)
- Method in
BasePlugin
buildToolsVersion
(String)
- Method in
BaseExtension
buildTypes
(Action)
- Method in
AppExtension
C
checkTasksAlreadyCreated
()
- Method in
BasePlugin
collectArtifacts
(Configuration, Map)
- Method in
BasePlugin
compileAllFiles
(DependencyFileProcessor)
- Method in
AidlCompile
compileOptions
(Action)
- Method in
BaseExtension
compileSdkVersion
(String)
- Method in
BaseExtension
compileSingleFile
(File, Object, DependencyFileProcessor)
- Method in
AidlCompile
connectedCheck
- Field in
BasePlugin
createAidlTask
(BaseVariantData)
- Method in
BasePlugin
createAnchorTasks
(BaseVariantData)
- Method in
BasePlugin
createAndroidTasks
(boolean)
- Method in
BasePlugin
createApiObjects
()
- Method in
AppPlugin
createApiObjects
()
- Method in
LibraryPlugin
createBuildConfigTask
(BaseVariantData)
- Method in
BasePlugin
createCheckManifestTask
(BaseVariantData)
- Method in
BasePlugin
createCheckTasks
(boolean, boolean)
- Method in
BasePlugin
createCompileTask
(BaseVariantData, BaseVariantData)
- Method in
BasePlugin
createConfigurations
(AndroidSourceSet)
- Method in
LibraryPlugin
createGenerateResValuesTask
(BaseVariantData)
- Method in
BasePlugin
createLibVariant
(ProductFlavorData, BuildTypeData)
- Method in
LibraryPlugin
createLintCompileTask
()
- Method in
BasePlugin
createLintTasks
()
- Method in
BasePlugin
createLocation
(Context, Object)
- Method in
GroovyGradleDetector
createMergeAssetsTask
(BaseVariantData, String, boolean)
- Method in
BasePlugin
createMergeResourcesTask
(BaseVariantData, boolean)
- Method in
BasePlugin
createNdkTasks
(BaseVariantData)
- Method in
BasePlugin
createProcessJavaResTask
(BaseVariantData)
- Method in
BasePlugin
createProcessManifestTask
(BaseVariantData, String)
- Method in
BasePlugin
createProcessResTask
(BaseVariantData, String, boolean)
- Method in
BasePlugin
createProcessTestManifestTask
(BaseVariantData, String)
- Method in
BasePlugin
createProguardTasks
(BaseVariantData, BaseVariantData)
- Method in
BasePlugin
Creates the proguarding task for the given Variant.
createRenderscriptTask
(BaseVariantData)
- Method in
BasePlugin
createTestApkTasks
(TestVariantData, BaseVariantData)
- Method in
BasePlugin
Creates the tasks to build the test apk.
createZipAlignTask
(String, File, File)
- Method in
ApkVariant
createZipAlignTask
(String, File, File)
- Method in
BasePlugin
creates a zip align.
D
debug
(Action)
- Method in
LibraryExtension
debugSigningConfig
(Action)
- Method in
LibraryExtension
defaultConfig
(Action)
- Method in
BaseExtension
deviceCheck
- Field in
BasePlugin
deviceProvider
(DeviceProvider)
- Method in
BaseExtension
Dex
- Class in
com.android.build.gradle.tasks
dexOptions
(Action)
- Method in
BaseExtension
DIR_BUNDLES
- Field in
BasePlugin
doCreateAndroidTasks
()
- Method in
AppPlugin
Task creation entry point.
doCreateAndroidTasks
()
- Method in
BasePlugin
doCreateAndroidTasks
()
- Method in
LibraryPlugin
doFullTaskAction
()
- Method in
MergeAssets
doFullTaskAction
()
- Method in
MergeResources
doFullTaskAction
()
- Method in
PackageApplication
doFullTaskAction
()
- Method in
ProcessAndroidResources
doFullTaskAction
()
- Method in
ProcessAppManifest
doFullTaskAction
()
- Method in
ProcessTestManifest
doIncrementalTaskAction
(Map)
- Method in
MergeAssets
doIncrementalTaskAction
(Map)
- Method in
MergeResources
E
ensureConfigured
(Configuration)
- Method in
BasePlugin
F
flavorGroups
(String)
- Method in
AppExtension
G
generate
()
- Method in
GenerateBuildConfig
generate
()
- Method in
GenerateResValues
GenerateBuildConfig
- Class in
com.android.build.gradle.tasks
GenerateResValues
- Class in
com.android.build.gradle.tasks
getAdbExe
()
- Method in
BaseExtension
getAidl
()
- Method in
AndroidSourceSet
The Android AIDL source directory for this source set.
getAidlCompile
()
- Method in
BaseVariant
Returns the AIDL compilation task.
getAllJava
()
- Method in
AndroidSourceSet
All Java source files for this source set.
getAllSource
()
- Method in
AndroidSourceSet
All source files for this source set.
getAndroidBuilder
(BaseVariantData)
- Method in
BasePlugin
getApkLibraries
()
- Method in
ApkVariant
Returns the list of jar files that are packaged in the APK.
getApplicationVariants
()
- Method in
AppExtension
getAssemble
()
- Method in
BaseVariant
Returns the assemble task.
getAssets
()
- Method in
AndroidSourceSet
The Android Assets directory for this source set.
getBaseName
()
- Method in
BaseVariant
Returns the base name for the output of the variant.
getBuildToolsRevision
()
- Method in
BaseExtension
getBuildType
()
- Method in
BaseVariant
Returns the com.android.builder.DefaultBuildType for this build variant.
getCheckManifest
()
- Method in
BaseVariant
Returns the check manifest task.
getCompileConfigurationName
()
- Method in
AndroidSourceSet
Returns the name of the compile configuration for this source set.
getCompileLibraries
()
- Method in
ApkVariant
Returns the list of jar files that are on the compile classpath.
getCompileSdkVersion
()
- Method in
BaseExtension
getConnectedInstrumentTest
()
- Method in
TestVariant
Returns the task to run the tests.
getDefaultConfigData
()
- Method in
BasePlugin
getDefaultProguardFile
(String)
- Method in
BaseExtension
getDescription
()
- Method in
BaseVariant
Returns a description for the build variant.
getDeviceProviders
()
- Method in
BaseExtension
getDex
()
- Method in
ApkVariant
Returns the Dex task.
getDirName
()
- Method in
BaseVariant
Returns a subfolder name for the variant.
getExtension
()
- Method in
AppPlugin
getExtension
()
- Method in
BasePlugin
getExtension
()
- Method in
LibraryPlugin
getExtraAndroidArtifacts
(String)
- Method in
BasePlugin
getExtraArtifacts
()
- Method in
BasePlugin
getExtraBuildTypeSourceProviders
(String)
- Method in
BasePlugin
getExtraFlavorSourceProviders
(String)
- Method in
BasePlugin
getExtraJavaArtifacts
(String)
- Method in
BasePlugin
getExtraVariantSourceProviders
(String)
- Method in
BasePlugin
getFlavorName
()
- Method in
BaseVariant
Returns the flavor name of the variant.
getGenerateBuildConfig
()
- Method in
BaseVariant
Returns the BuildConfig generation task.
getInstall
()
- Method in
ApkVariant
Returns the installation task.
getIssues
()
- Method in
Lint.LintGradleIssueRegistry
getJava
()
- Method in
AndroidSourceSet
Returns the Java source which is to be compiled by the Java compiler into the class output directory.
getJavaCompile
()
- Method in
BaseVariant
Returns the Java Compilation task.
getJni
()
- Method in
AndroidSourceSet
The Android JNI source directory for this source set.
getJniLibs
()
- Method in
AndroidSourceSet
The Android JNI libs directory for this source set.
getLibraryVariants
()
- Method in
LibraryExtension
getLoadedSdkParser
()
- Method in
BasePlugin
getLocalJarFileList
(DependencyContainer)
- Method in
LibraryPlugin
getLogger
()
- Method in
BaseExtension
getLogger
()
- Method in
BasePlugin
getManifest
()
- Method in
AndroidSourceSet
The Android Manifest file for this source set.
getManifestDependencies
(List)
- Method in
BasePlugin
getMergeAssets
()
- Method in
BaseVariant
Returns the asset merging task.
getMergedFlavor
()
- Method in
BaseVariant
Returns a com.android.builder.DefaultProductFlavor that represents the merging of the default config and the flavors of this build variant.
getMergeResources
()
- Method in
BaseVariant
Returns the resource merging task.
getName
()
- Method in
AndroidSourceDirectorySet
A concise name for the source directory (typically used to identify it in a collection).
getName
()
- Method in
AndroidSourceFile
A concise name for the source directory (typically used to identify it in a collection).
getName
()
- Method in
AndroidSourceSet
Returns the name of this source set.
getName
()
- Method in
BaseVariant
Returns the name of the variant.
getNativeLibraries
()
- Method in
PackageApplication
getNdkCompile
()
- Method in
BaseVariant
Returns the NDK Compilation task.
getNdkDirectory
()
- Method in
BasePlugin
getOptionalDir
(File)
- Method in
BasePlugin
getOutputFile
()
- Method in
BaseVariant
Returns the output file for this build variants.
getPackageApplication
()
- Method in
ApkVariant
Returns the APK packaging task.
getPackageConfigurationName
()
- Method in
AndroidSourceSet
Returns the name of the runtime configuration for this source set.
getPackageLibrary
()
- Method in
LibraryVariant
Returns the Library AAR packaging task.
getPackageName
()
- Method in
BaseVariant
Returns the package name of the variant.
getPreBuild
()
- Method in
BaseVariant
Returns the pre-build anchor task
getProcessJavaResources
()
- Method in
BaseVariant
Returns the Java resource processing task.
getProcessManifest
()
- Method in
BaseVariant
Returns the Manifest processing task.
getProcessResources
()
- Method in
BaseVariant
Returns the Android Resources processing task.
getProductFlavors
()
- Method in
ApkVariant
Returns the list of com.android.builder.DefaultProductFlavor for this build variant.
getProguard
()
- Method in
BaseVariant
Returns the Proguard task.
getProject
()
- Method in
BasePlugin
getProvidedConfigurationName
()
- Method in
AndroidSourceSet
Returns the name of the compiled-only configuration for this source set.
getProviderInstrumentTests
()
- Method in
TestVariant
Returns the task to run the tests.
getRawInputFolders
()
- Method in
MergeAssets
getRawInputFolders
()
- Method in
MergeResources
getRenderscript
()
- Method in
AndroidSourceSet
The Android Renderscript source directory for this source set.
getRenderscriptCompile
()
- Method in
BaseVariant
Returns the Renderscript compilation task.
getRes
()
- Method in
AndroidSourceSet
The Android Resources directory for this source set.
getResources
()
- Method in
AndroidSourceSet
Returns the Java resources which are to be copied into the javaResources output directory.
getRuntimeJarList
()
- Method in
BasePlugin
getRuntimeJars
()
- Method in
BasePlugin
getSdkDirectory
()
- Method in
BasePlugin
getSdkParser
()
- Method in
BasePlugin
getSigningConfig
()
- Method in
ApkVariant
Returns the SigningConfig for this build variant, if one has been specified.
getSource
()
- Method in
NdkCompile
getSourceFiles
()
- Method in
AidlCompile
getSourceSets
()
- Method in
BaseExtension
getSourceSets
()
- Method in
BaseVariant
Returns a list of sorted SourceProvider in order of ascending order, meaning, the earlier items are meant to be overridden by later items.
getSrcDirs
()
- Method in
AndroidSourceDirectorySet
Returns the resolved directories.
getSrcFile
()
- Method in
AndroidSourceFile
Returns the file.
getStartOffset
(Context, Object)
- Method in
GroovyGradleDetector
getTestedVariant
()
- Method in
TestVariant
Returns the build variant that is tested by this variant.
getTestServers
()
- Method in
BaseExtension
getTestVariant
()
- Method in
ApplicationVariant
Returns the build variant that will test this build variant.
getTestVariant
()
- Method in
LibraryVariant
Returns the build variant that will test this build variant.
getTestVariants
()
- Method in
BaseExtension
getTextSymbolDependencies
(List)
- Method in
BasePlugin
getUninstall
()
- Method in
ApkVariant
Returns the uinstallation task.
getUnresolvedDependencies
()
- Method in
BasePlugin
getVersionCode
()
- Method in
ApkVariant
Return the app versionCode.
getVersionName
()
- Method in
ApkVariant
Return the app versionName or null if none found.
getZipAlign
()
- Method in
ApkVariant
Returns the Zip align task.
GRADLE_MIN_VERSION
- Field in
BasePlugin
GRADLE_SUPPORTED_VERSIONS
- Field in
BasePlugin
GroovyGradleDetector
- Class in
com.android.build.gradle.tasks
Implementation of the GradleDetector using a real Groovy AST, which the Gradle plugin has access to
H
I
incrementalSetup
()
- Method in
AidlCompile
INSTALL_GROUP
- Field in
BasePlugin
instantiator
- Field in
BasePlugin
isIncremental
()
- Method in
AidlCompile
isIncremental
()
- Method in
MergeAssets
isIncremental
()
- Method in
MergeResources
isSigningReady
()
- Method in
ApkVariant
Returns true if this variant has the information it needs to create a signed APK.
isVerbose
()
- Method in
BasePlugin
J
java
(Closure)
- Method in
AndroidSourceSet
Configures the Java source for this set.
jni
(Closure)
- Method in
AndroidSourceSet
Configures the location of the Android JNI source for this set.
jniLibs
(Closure)
- Method in
AndroidSourceSet
Configures the location of the Android JNI libs for this set.
K
L
LibraryExtension
- Class in
com.android.build.gradle
Extension for 'library' project.
LibraryExtension
(BasePlugin, ProjectInternal, Instantiator)
- Constructor in
LibraryExtension
LibraryPlugin
- Class in
com.android.build.gradle
Gradle plugin class for 'library' projects.
LibraryPlugin
(Instantiator, ToolingModelBuilderRegistry)
- Constructor in
LibraryPlugin
LibraryVariant
- Interface in
com.android.build.gradle.api
A Build variant and all its public data.
Lint
- Class in
com.android.build.gradle.tasks
Lint.LintGradleIssueRegistry
- Class in
com.android.build.gradle.tasks
Lint.LintGradleIssueRegistry
()
- Constructor in
Lint.LintGradleIssueRegistry
lint
()
- Method in
Lint
lintAll
- Field in
BasePlugin
lintAllVariants
(AndroidProject)
- Method in
Lint
Runs lint individually on all the variants, and then compares the results across variants and reports these
lintCompile
- Field in
BasePlugin
lintOptions
(Action)
- Method in
BaseExtension
lintSingleVariant
(AndroidProject, String)
- Method in
Lint
Runs lint on a single specified variant
lintVital
- Field in
BasePlugin
M
mainPreBuild
- Field in
BasePlugin
mainSourceSet
- Field in
BasePlugin
manifest
(Closure)
- Method in
AndroidSourceSet
Configures the location of the Android Manifest for this set.
MergeAssets
- Class in
com.android.build.gradle.tasks
MergeResources
- Class in
com.android.build.gradle.tasks
N
NdkCompile
- Class in
com.android.build.gradle.tasks
O
P
PackageApplication
- Class in
com.android.build.gradle.tasks
packagingOptions
(Action)
- Method in
BaseExtension
plugin
- Field in
BaseExtension
PreDex
- Class in
com.android.build.gradle.tasks
ProcessAndroidResources
- Class in
com.android.build.gradle.tasks
ProcessAppManifest
- Class in
com.android.build.gradle.tasks
A task that processes the manifest
ProcessManifest
- Class in
com.android.build.gradle.tasks
A task that processes the manifest
ProcessTestManifest
- Class in
com.android.build.gradle.tasks
A task that processes the manifest
productFlavors
(Action)
- Method in
AppExtension
project
- Field in
BasePlugin
Q
R
registerArtifactType
(String, boolean, int)
- Method in
BaseExtension
registerArtifactType
(String, boolean, int)
- Method in
BasePlugin
registerBuildTypeSourceProvider
(String, BuildType, SourceProvider)
- Method in
BaseExtension
registerBuildTypeSourceProvider
(String, BuildType, SourceProvider)
- Method in
BasePlugin
registerJavaArtifact
(String, BaseVariant, String, String, Configuration, File, SourceProvider)
- Method in
BaseExtension
registerJavaArtifact
(String, BaseVariant, String, String, Configuration, File, SourceProvider)
- Method in
BasePlugin
registerJavaGeneratingTask
(Task, Collection)
- Method in
BaseVariant
Adds to the variant a task that generates Java source code.
registerMultiFlavorSourceProvider
(String, String, SourceProvider)
- Method in
BaseExtension
registerMultiFlavorSourceProvider
(String, String, SourceProvider)
- Method in
BasePlugin
registerProductFlavorSourceProvider
(String, ProductFlavor, SourceProvider)
- Method in
BaseExtension
registerProductFlavorSourceProvider
(String, ProductFlavor, SourceProvider)
- Method in
BasePlugin
release
(Action)
- Method in
LibraryExtension
renderscript
(Closure)
- Method in
AndroidSourceSet
Configures the location of the Android Renderscript source for this set.
RenderscriptCompile
- Class in
com.android.build.gradle.tasks
Task to compile Renderscript files.
ReportingPlugin
- Class in
com.android.build.gradle
Gradle plugin class for 'reporting' projects.
res
(Closure)
- Method in
AndroidSourceSet
Configures the location of the Android Resources for this set.
resetProguardInJarCounts
(ProGuardTask)
- Method in
BasePlugin
resolveDependencies
(VariantDependencies)
- Method in
BasePlugin
resolveDependencyForConfig
(VariantDependencies, Map, Map, Multimap)
- Method in
BasePlugin
ResourceException
- Class in
com.android.build.gradle.tasks
Exception used for resource merging errors, thrown when a MergingException is thrown by the resource merging code.
ResourceException
(String, Throwable)
- Constructor in
ResourceException
resources
(Closure)
- Method in
AndroidSourceSet
Configures the Java resources for this set.
S
setBaseExtension
(BaseExtension)
- Method in
BasePlugin
setBuildToolsVersion
(String)
- Method in
BaseExtension
setCompileSdkVersion
(String)
- Method in
BaseExtension
setFatalOnly
(boolean)
- Method in
Lint
setOutputFile
(File)
- Method in
BaseVariant
setPlugin
(BasePlugin)
- Method in
Lint
setRoot
(String)
- Method in
AndroidSourceSet
Sets the root of the source sets to a given path.
setSrcDirs
(Iterable)
- Method in
AndroidSourceDirectorySet
Sets the source directories for this set.
setVariantName
(String)
- Method in
Lint
signingConfigs
(Action)
- Method in
AppExtension
sourceSets
(Action)
- Method in
BaseExtension
srcDir
(Object)
- Method in
AndroidSourceDirectorySet
Adds the given source directory to this set.
srcDirs
(Object)
- Method in
AndroidSourceDirectorySet
Adds the given source directories to this set.
srcFile
(Object)
- Method in
AndroidSourceFile
Sets the location of the file.
supportsParallelization
()
- Method in
AidlCompile
T
taskAction
(IncrementalTaskInputs)
- Method in
Dex
Actual entry point for the action.
taskAction
(IncrementalTaskInputs)
- Method in
NdkCompile
taskAction
(IncrementalTaskInputs)
- Method in
PreDex
taskAction
()
- Method in
RenderscriptCompile
TEST_SDK_DIR
- Field in
BasePlugin
testOptions
(Action)
- Method in
BaseExtension
testServer
(TestServer)
- Method in
BaseExtension
testSourceSet
- Field in
BasePlugin
TestVariant
- Interface in
com.android.build.gradle.api
A Build variant and all its public data.
U
uninstallAll
- Field in
BasePlugin
V
visitBuildScript
(Context, Map)
- Method in
GroovyGradleDetector
W
wrapJavaSourceSet
(SourceSet)
- Method in
BaseExtension
X
Y
Z
ZipAlign
- Class in
com.android.build.gradle.tasks
zipAlign
()
- Method in
ZipAlign
_
Copyright (C) 2012 The Android Open Source Project