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<AaptOptions>) - Method in BaseExtension
Configures aapt options.
addDependency(ResolvedComponentResult, VariantDependencies, Collection<LibraryDependency>, Map<File, JarDependency>, Map<ModuleVersionIdentifier, List<LibraryDependencyImpl>>, Map<ModuleVersionIdentifier, List<ResolvedArtifact>>, Multimap<LibraryDependency, VariantDependencies>) - Method in BasePlugin
addJavaSourceFoldersToModel(Collection<File>) - Method in BaseVariant
Adds new Java source folders to the model.
addLocation(File) - Method in ResourceUsageAnalyzer.Resource
addReference(Resource) - Method in ResourceUsageAnalyzer.Resource
addTestVariant(TestVariant) - Method in BaseExtension
addVariant(BaseVariant) - Method in AppExtension
addVariant(BaseVariant) - Method in BaseExtension
addVariant(BaseVariant) - Method in LibraryExtension
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.
analyze() - Method in ResourceUsageAnalyzer
ANDROID_ANNOTATIONS_PREFIX - Field in Extractor
ANDROID_INT_DEF - Field in Extractor
ANDROID_NOTNULL - Field in Extractor
ANDROID_NULLABLE - Field in Extractor
ANDROID_STRING_DEF - Field in Extractor
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.
ApiDatabase - Class in com.android.build.gradle.tasks.annotations
Reads a signature file in the format of the new API files in frameworks/base/api
ApiDatabase(File) - Constructor in ApiDatabase
apiFilter - Field in ExtractAnnotations
An optional pointer to an API file to filter the annotations by (any annotations not found in the API file are considered hidden/not exposed.)
ApkOutputFile - Class in com.android.build.gradle.api
Represents a resource output from a variant configuration.
ApkOutputFile(OutputType, Collection<FilterData>, Callable<File>) - Constructor in ApkOutputFile
ApkVariant - Interface in com.android.build.gradle.api
A Build variant and all its public data.
ApkVariantOutput - Interface in com.android.build.gradle.api
A variant output for apk-generating variants.
AppExtension - Class in com.android.build.gradle
Extension for 'application' project.
AppExtension(AppPlugin, ProjectInternal, Instantiator, NamedDomainObjectContainer<BuildType>, NamedDomainObjectContainer<GroupableProductFlavor>, NamedDomainObjectContainer<SigningConfig>, boolean) - 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, NamedDomainObjectContainer<BuildType>, NamedDomainObjectContainer<GroupableProductFlavor>, NamedDomainObjectContainer<SigningConfig>, boolean) - Constructor in BaseExtension
BasePlugin - Class in com.android.build.gradle
Base class for all Android plugins
BasePlugin.PostCompilationData - Class in com.android.build.gradle
Class to hold data to setup the many optional post-compilation steps.
BasePlugin(Instantiator, ToolingModelBuilderRegistry) - Constructor in BasePlugin
BaseVariant - Interface in com.android.build.gradle.api
A Build variant and all its public data.
BaseVariantOutput - Interface in com.android.build.gradle.api
A Build variant output and all its public data.
basicCreateMergeResourcesTask(BaseVariantData<? extends BaseVariantOutputData>, String, String, boolean, boolean) - Method in BasePlugin
bootClasspath - Field in ExtractAnnotations
Boot classpath: typically android.jar
buildConfigField(String, String, String) - Method in BaseVariant
Adds a variant-specific BuildConfig field.
buildToolsVersion(String) - Method in BaseExtension
Sets the build tools version.
buildTypes(Action<? super NamedDomainObjectContainer<BuildType>>) - Method in BaseExtension
Configures the build types.

C

checkTasksAlreadyCreated() - Method in BasePlugin
classDir - Field in ExtractAnnotations
Location of class files.
CompatibleScreensManifest - Class in com.android.build.gradle.tasks
Task to generate a manifest snippet that just contains a compatible-screens node with the given density and the given list of screen sizes.
compile() - Method in ExtractAnnotations
compile() - Method in JackTask
compileOptions(Action<CompileOptions>) - Method in BaseExtension
Configures compile options.
compileSdkVersion(int) - Method in BaseExtension
Sets the compile SDK version, based on API level, e.g. 21 for Lollipop.
configureProject() - Method in BasePlugin
connectedCheck - Field in BasePlugin
createAidlTask(BaseVariantData<? extends BaseVariantOutputData>, File) - Method in BasePlugin
createAnchorTasks(BaseVariantData<? extends BaseVariantOutputData>) - Method in BasePlugin
createAndroidTasks(boolean) - Method in BasePlugin
createAssembleTask(BaseVariantData<? extends BaseVariantOutputData>) - Method in BasePlugin
createBuildConfigTask(BaseVariantData<? extends BaseVariantOutputData>) - Method in BasePlugin
createCheckManifestTask(BaseVariantData<? extends BaseVariantOutputData>) - Method in BasePlugin
createCheckTasks(boolean, boolean) - Method in BasePlugin
createCompileTask(BaseVariantData<? extends BaseVariantOutputData>, BaseVariantData<? extends BaseVariantOutputData>) - Method in BasePlugin
createConfiguration(ConfigurationContainer, String, String) - Method in BaseExtension
createGenerateMicroApkDataTask(BaseVariantData<? extends BaseVariantOutputData>, Configuration) - Method in BasePlugin
createGenerateResValuesTask(BaseVariantData<? extends BaseVariantOutputData>) - Method in BasePlugin
createJackTask(BaseVariantData<? extends BaseVariantOutputData>, BaseVariantData<? extends BaseVariantOutputData>) - Method in BasePlugin
createJacocoTask(GradleVariantConfiguration, BaseVariantData, BasePlugin.PostCompilationData) - Method in BasePlugin
createLintCompileTask() - Method in BasePlugin
createLintTasks() - Method in BasePlugin
createLocation(Context, Object) - Method in GroovyGradleDetector
createMergeAppManifestsTask(BaseVariantData<? extends BaseVariantOutputData>) - Method in BasePlugin
createMergeAssetsTask(BaseVariantData<? extends BaseVariantOutputData>, String, boolean) - Method in BasePlugin
createMergeLibManifestsTask(BaseVariantData<? extends BaseVariantOutputData>, String) - Method in BasePlugin
createMergeResourcesTask(BaseVariantData<? extends BaseVariantOutputData>, boolean) - Method in BasePlugin
createNdkTasks(BaseVariantData<? extends BaseVariantOutputData>) - Method in BasePlugin
createPackagingTask(ApkVariantData, Task, boolean) - Method in BasePlugin
Creates the final packaging task, and optionally the zipalign task (if the variant is signed)
createPostCompilationTasks(ApkVariantData) - Method in BasePlugin
Creates the post-compilation tasks for the given Variant.
createProcessJavaResTask(BaseVariantData<? extends BaseVariantOutputData>) - Method in BasePlugin
createProcessResTask(BaseVariantData<? extends BaseVariantOutputData>, String, boolean) - Method in BasePlugin
createProcessTestManifestTask(BaseVariantData<? extends BaseVariantOutputData>, String) - Method in BasePlugin
createProguardTasks(BaseVariantData<? extends BaseVariantOutputData>, BaseVariantData<? extends BaseVariantOutputData>, BasePlugin.PostCompilationData) - Method in BasePlugin
Creates the proguarding task for the given Variant.
createRenderscriptTask(BaseVariantData<? extends BaseVariantOutputData>) - Method in BasePlugin
createSplitAbiTasks(ApplicationVariantData) - Method in BasePlugin
createSplitResourcesTasks(BaseVariantData<? extends BaseVariantOutputData>) - Method in BasePlugin
Creates the split resources packages task if necessary.
createTestApkTasks(TestVariantData) - Method in BasePlugin
Creates the tasks to build the test apk.
createZipAlignTask(String, File, File) - Method in ApkVariantOutput
createZipAlignTask(String, File, File) - Method in BasePlugin
creates a zip align.

D

declarations - Field in ResourceUsageAnalyzer.Resource
DEFAULT_PROGUARD_CONFIG_FILE - Field in BasePlugin
defaultConfig(Action<ProductFlavor>) - Method in BaseExtension
The default configuration, inherited by all build flavors (if any are defined).
defaultPublishConfig(String) - Method in BaseExtension
deviceCheck - Field in BasePlugin
deviceProvider(DeviceProvider) - Method in BaseExtension
Dex - Class in com.android.build.gradle.tasks
dexOptions(Action<DexOptions>) - Method in BaseExtension
Configures dex options.
DIR_BUNDLES - Field in BasePlugin
displayDeprecationWarning(Logger, Project, String) - Method in BasePlugin
displayWarning(Logger, Project, String) - Method in BasePlugin
doApply() - Method in BasePlugin
doFullTaskAction() - Method in AidlCompile
doFullTaskAction() - Method in GenerateSplitAbiRes
doFullTaskAction() - Method in InvokeManifestMerger
doFullTaskAction() - Method in MergeAssets
doFullTaskAction() - Method in MergeManifests
doFullTaskAction() - Method in MergeResources
doFullTaskAction() - Method in PackageApplication
doFullTaskAction() - Method in PackageSplitAbi
doFullTaskAction() - Method in PackageSplitRes
doFullTaskAction() - Method in ProcessAndroidResources
doFullTaskAction() - Method in ProcessManifest
doFullTaskAction() - Method in ProcessTestManifest
doIncrementalTaskAction(Map<File, FileStatus>) - Method in AidlCompile
doIncrementalTaskAction(Map<File, FileStatus>) - Method in MergeAssets
doIncrementalTaskAction(Map<File, FileStatus>) - Method in MergeResources

E

encoding - Field in ExtractAnnotations
The encoding to use when reading source files.
enforceUniquePackageName(boolean) - Method in BaseExtension
ensureConfigured(Configuration) - Method in BasePlugin
ensureTargetSetup() - Method in BasePlugin
equals(Object) - Method in ResourceUsageAnalyzer.Resource
export(File) - Method in Extractor
ExtractAnnotations - Class in com.android.build.gradle.tasks
extractFromProjectSource(Collection<CompilationUnitDeclaration>) - Method in Extractor
Extractor - Class in com.android.build.gradle.tasks.annotations
Annotation extractor which looks for annotations in parsed compilation units and writes the annotations into a format suitable for use by IntelliJ and Android Studio etc; it's basically an XML file, organized by package, which lists the signatures for fields and methods in classes in the given package, and identifiers method parameters by index, and lists the annotations annotated on that element.
Extractor(ApiDatabase, File, boolean) - Constructor in Extractor

F

FILE_JACOCO_AGENT - Field in BasePlugin
findBasePlugin(Project) - Method in BasePlugin
Returns a plugin that is an instance of BasePlugin.
flavorDimensions(String) - Method in BaseExtension

G

generate() - Method in CompatibleScreensManifest
generate() - Method in GenerateBuildConfig
generate() - Method in GenerateResValues
GenerateBuildConfig - Class in com.android.build.gradle.tasks
generatePureSplits(boolean) - Method in BaseExtension
GenerateResValues - Class in com.android.build.gradle.tasks
GenerateSplitAbiRes - Class in com.android.build.gradle.tasks
Generates all metadata (like AndroidManifest.xml) necessary for a ABI dimension split APK.
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.
getAndroidBuilder() - Method in BasePlugin
getApkLibraries() - Method in ApkVariant
Returns the list of jar files that are packaged in the APK.
getApplicationId() - Method in BaseVariant
Returns the applicationId of the variant.
getApplicationVariants() - Method in AppExtension
getAssemble() - Method in BaseVariant
Returns the assemble task for all this variant's output
getAssemble() - Method in BaseVariantOutput
Returns the assemble task for this particular output
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.
getBaseName() - Method in BaseVariantOutput
Returns the base name for the output of the variant.
getBootClasspath() - Method in BaseExtension
getBootClasspath() - Method in BasePlugin
getBootClasspathAsStrings() - Method in BasePlugin
getBuildToolsRevision() - Method in BaseExtension
getBuildToolsVersion() - Method in AidlCompile
getBuildToolsVersion() - Method in Dex
getBuildToolsVersion() - Method in JillTask
getBuildToolsVersion() - Method in MergeResources
getBuildToolsVersion() - Method in PreDex
getBuildToolsVersion() - Method in ProcessAndroidResources
getBuildToolsVersion() - Method in RenderscriptCompile
getBuildType() - Method in BaseVariant
Returns the com.android.builder.core.DefaultBuildType for this build variant.
getBuildType() - Method in VariantFilter
Returns the Build Type.
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
Compile SDK version.
getConnectedInstrumentTest() - Method in TestVariant
Returns the task to run the tests.
getDefaultConfig() - Method in VariantFilter
Returns the ProductFlavor that represents the default config.
getDefaultConfigData() - Method in BasePlugin
getDefaultProguardFile(String) - Method in BaseExtension
getDefaultPublishConfig() - Method in BaseExtension
Name of the configuration used to build the default artifact of this project.
getDescription() - Method in BaseVariant
Returns a description for the build variant.
getDeviceProviders() - Method in BaseExtension
getDex() - Method in ApkVariant
Returns the Dex task.
getDexFileName(File, File) - Method in PreDex
Returns a unique File for the pre-dexed library, even if there are 2 libraries with the same file names (but different paths)
getDirName() - Method in BaseVariant
Returns a subfolder name for the variant.
getDirName() - Method in BaseVariantOutput
Returns a subfolder name for the variant output.
getEnforceUniquePackageName() - Method in BaseExtension
getExtension() - Method in BasePlugin
getExtensionClass() - Method in AppPlugin
getExtensionClass() - Method in BasePlugin
getExtensionClass() - 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
getFieldName(String) - Method in ResourceUsageAnalyzer
getFilter() - Method in AndroidSourceDirectorySet
Returns the filter used to select the source from the source directories.
getFilter(String) - Method in ApkOutputFile
Returns the split identifier (like "hdpi" for a density split) given the split dimension.
getFilter(FilterType) - Method in ApkVariantOutput
Returns a filter value for a filter type if present on this variant or null otherwise.
getFilterByType(FilterType) - Method in ApkOutputFile
getFilters() - Method in ApkOutputFile
getFilterTypes() - Method in ApkOutputFile
getFlavorDimension() - Method in GroupableProductFlavor
Returns the flavor dimension or null if non are set.
getFlavorName() - Method in BaseVariant
Returns the flavor name of the variant.
getFlavors() - Method in VariantFilter
Returns the list of flavors, or an empty list.
getGenerateBuildConfig() - Method in BaseVariant
Returns the BuildConfig generation task.
getInstall() - Method in ApkVariant
Returns the install task for the variant.
getInstantiator() - Method in BasePlugin
getIssues() - Method in Lint.LintGradleIssueRegistry
getItemValues() - Method in GenerateBuildConfig
getItemValues() - Method in GenerateResValues
getJackExe() - Method in JackTask
getJackFileName(File, File) - Method in JillTask
Returns a unique File for the converted library, even if there are 2 libraries with the same file names (but different paths)
getJacocoAgentTask() - Method in BasePlugin
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.
getJniFolders(ApkVariantData) - Method in BasePlugin
Calculate the list of folders that can contain jni artifacts for this variant.
getJniLibs() - Method in AndroidSourceSet
The Android JNI libs directory for this source set.
getLibraryManifests() - Method in MergeManifests
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.
getLibraryManifests() - Method in ProcessTestManifest
getLibraryVariants() - Method in LibraryExtension
getLocalJarFileList(DependencyContainer) - Method in BasePlugin
getLogger() - Method in BaseExtension
getLogger() - Method in BasePlugin
getMainManifest() - Method in MergeManifests
getMainManifest() - Method in ProcessManifest
getManifest() - Method in AndroidSourceSet
The Android Manifest file for this source set.
getManifestDependencies(List<LibraryDependency>) - Method in BasePlugin
getManifestOverlays() - Method in MergeManifests
getManifestOverlays() - Method in ProcessManifest
getManifestPlaceholders() - Method in MergeManifests
Return a serializable version of our map of key value pairs for placeholder substitution.
getManifestPlaceholders() - Method in ProcessManifest
Return a serializable version of our map of key value pairs for placeholder substitution.
getMappingFile() - Method in BaseVariant
Returns the obfuscation mapping file.
getMergeAssets() - Method in BaseVariant
Returns the asset merging task.
getMergedFlavor() - Method in BaseVariant
Returns a com.android.builder.core.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.
getName() - Method in BaseVariantOutput
Returns the name of the variant.
getNativeLibraries() - Method in PackageApplication
getNdkCompile() - Method in BaseVariant
Returns the NDK Compilation task.
getNdkFolder() - Method in BasePlugin
getNonPublicTypedefClassFiles() - Method in TypedefCollector
getObfuscation() - Method in BaseVariant
Returns the obfuscation task.
getOptionalDir(File) - Method in BasePlugin
getOutputFile() - Method in ApkOutputFile
getOutputFile() - Method in BaseVariantOutput
Returns the output file for this build variants.
getOutputs() - Method in BaseVariant
Returns the variant outputs.
getOutputsAreSigned() - Method in BaseVariant
@see #setOutputsAreSigned(boolean)
getOutputSplitFiles() - Method in PackageSplitAbi
getOutputSplitFiles() - Method in PackageSplitRes
getOutputSplitFiles() - Method in SplitZipAlign
getOutputType() - Method in ApkOutputFile
getPackageApplication() - Method in ApkVariantOutput
Returns the packaging task
getPackageBuildConfig() - Method in LibraryExtension
getPackageConfigurationName() - Method in AndroidSourceSet
Returns the name of the runtime configuration for this source set.
getPackageLibrary() - Method in LibraryVariantOutput
Returns the Library AAR packaging task.
getPackageOverride() - Method in MergeManifests
getPackageOverride() - Method in ProcessManifest
getPlugin() - Method in BaseExtension
getPreBuild() - Method in BaseVariant
Returns the pre-build anchor task
getProcessJavaResources() - Method in BaseVariant
Returns the Java resource processing task.
getProcessManifest() - Method in BaseVariantOutput
Returns the Manifest processing task.
getProcessResources() - Method in BaseVariantOutput
Returns the Android Resources processing task.
getProductFlavors() - Method in BaseVariant
Returns the list of com.android.builder.core.DefaultProductFlavor for this build variant.
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.
getPublishNonDefault() - Method in BaseExtension
Whether to publish artifacts for all configurations, not just the default one.
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.
getSdkDirectory() - Method in BaseExtension
getSdkFolder() - Method in BasePlugin
getSdkInfo() - Method in BasePlugin
getSigningConfig() - Method in ApkVariant
Returns the com.android.builder.model.SigningConfig for this build variant, if one has been specified.
getSource() - Method in NdkCompile
getSourceFiles() - Method in AidlCompile
getSourceFiles() - Method in AndroidSourceDirectorySet
Returns the list of source files as a org.gradle.api.file.FileTree
getSourceSets() - Method in BaseExtension
All source sets.
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.
getSplitIdentifiers(char) - Method in ApkOutputFile
String identifying the splits within all the filters dimension.
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<LibraryDependency>) - Method in BasePlugin
getType() - Method in ApkOutputFile
getTypedefs() - Method in TypedefCollector
getUninstall() - Method in ApkVariant
Returns the uninstallation task.
getUnresolvedDependencies() - Method in BasePlugin
getUnusedResourceCount() - Method in ResourceUsageAnalyzer
getUrl() - Method in ResourceUsageAnalyzer.Resource
getUseNewNativePlugin() - Method in BaseExtension
getVariantDataList() - Method in BasePlugin
getVariantFactory() - Method in AppPlugin
getVariantFactory() - Method in BasePlugin
getVariantFactory() - Method in LibraryPlugin
getVariantFilter() - Method in BaseExtension
getVariantManager() - Method in BasePlugin
getVersionCode() - Method in ApkVariant
Return the app versionCode.
getVersionCode() - Method in MergeManifests
getVersionCode() - Method in ProcessManifest
getVersionCodeOverride() - Method in ApkVariantOutput
Returns the version code override.
getVersionName() - Method in ApkVariant
Return the app versionName or null if none found.
getVersionName() - Method in MergeManifests
getVersionName() - Method in ProcessManifest
getVersionNameOverride() - Method in ApkVariantOutput
Returns the version name override.
getWearAppConfigurationName() - Method in AndroidSourceSet
Returns the name of the wearApp configuration for this source set.
getZipAlign() - Method in ApkVariantOutput
Returns the Zip align task.
GRADLE_SUPPORTED_VERSIONS - Field in BasePlugin
GRADLE_TEST_VERSION - Field in BasePlugin
GroovyGradleDetector - Class in com.android.build.gradle.tasks
Implementation of the com.android.tools.lint.checks.GradleDetector using a real Groovy AST, which the Gradle plugin has access to
GroupableProductFlavor - Interface in com.android.build.gradle.api
A product flavor that is associated with a flavor dimension.

H

handleLibrary(Project, LibraryDependencyImpl) - Method in BasePlugin
Handles the library and returns a task to "prepare" the library (ie unarchive it).
hasAndroidAnnotations() - Method in ExtractAnnotations
hasDefault - Field in ResourceUsageAnalyzer.Resource
Whether this resource has a default definition (e.g. present in a resource folder with no qualifiers).
hasField(String, String) - Method in ApiDatabase
hashCode() - Method in ResourceUsageAnalyzer.Resource
hasMethod(String, String, String) - Method in ApiDatabase

I

IDEA_CONTRACT - Field in Extractor
IDEA_MAGIC - Field in Extractor
IDEA_NON_NLS - Field in Extractor
IDEA_NOTNULL - Field in Extractor
IDEA_NULLABLE - Field in Extractor
INSTALL_GROUP - Field in BasePlugin
instantiator - Field in BasePlugin
InvokeManifestMerger - Class in com.android.build.gradle.tasks
Simple task to invoke the new Manifest Merger without any injection, features, system properties or overlay manifests
isDebug() - Method in ResourceUsageAnalyzer
isDryRun() - Method in ResourceUsageAnalyzer
isIncremental() - Method in AidlCompile
isIncremental() - Method in MergeAssets
isIncremental() - Method in MergeResources
isListIgnored() - Method in Extractor
isRelevantType() - Method in ResourceUsageAnalyzer.Resource
isSigningReady() - Method in ApkVariant
Returns true if this variant has the information it needs to create a signed APK.
isVerbose() - Method in BasePlugin
isVerbose() - Method in ResourceUsageAnalyzer

J

JackTask - Class in com.android.build.gradle.tasks
Jack task.
jacoco(Action<JacocoExtension>) - Method in BaseExtension
Configures JaCoCo options.
jacocoAgentTask - Field in BasePlugin
jacocoPlugin - Field in BasePlugin
java(Closure) - Method in AndroidSourceSet
Configures the Java source for this set.
JillTask - Class in com.android.build.gradle.tasks
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(LibraryPlugin, ProjectInternal, Instantiator, NamedDomainObjectContainer<BuildType>, NamedDomainObjectContainer<GroupableProductFlavor>, NamedDomainObjectContainer<SigningConfig>, boolean) - 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.
LibraryVariantOutput - Interface in com.android.build.gradle.api
A variant output for library variants.
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<LintOptions>) - Method in BaseExtension
Configure lint options.
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.
ManifestProcessorTask - Class in com.android.build.gradle.tasks
A task that processes the manifest
MergeAssets - Class in com.android.build.gradle.tasks
mergeExisting(File) - Method in Extractor
mergeJars - Field in ExtractAnnotations
A list of existing annotation zip files (or dirs) to merge in.
MergeManifests - Class in com.android.build.gradle.tasks
A task that processes the manifest
MergeResources - Class in com.android.build.gradle.tasks

N

name - Field in ResourceUsageAnalyzer.Resource
Name of resource
NdkCompile - Class in com.android.build.gradle.tasks

O

optionalDependsOn(Task, List<Object>) - Method in BasePlugin
output - Field in ExtractAnnotations
The output .zip file to write the annotations database to, if any

P

PackageApplication - Class in com.android.build.gradle.tasks
packageBuildConfig(boolean) - Method in LibraryExtension
PackageSplitAbi - Class in com.android.build.gradle.tasks
Package a abi dimension specific split APK
PackageSplitRes - Class in com.android.build.gradle.tasks
Package each split resources into a specific signed apk file.
packagingOptions(Action<PackagingOptions>) - Method in BaseExtension
Configures packaging options.
plugin - Field in ExtractAnnotations
PreDex - Class in com.android.build.gradle.tasks
ProcessAndroidResources - Class in com.android.build.gradle.tasks
ProcessManifest - Class in com.android.build.gradle.tasks
a Task that only merge a single manifest with its overlays.
ProcessTestManifest - Class in com.android.build.gradle.tasks
A task that processes the manifest
productFlavors(Action<? super NamedDomainObjectContainer<GroupableProductFlavor>>) - Method in BaseExtension
Configures the product flavors.
project - Field in BasePlugin
publishNonDefault(boolean) - Method in BaseExtension

Q

R

reachable - Field in ResourceUsageAnalyzer.Resource
Whether this resource can be reached from one of the roots (manifest, code)
references - Field in ResourceUsageAnalyzer.Resource
Resources this resource references.
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<File>) - 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
removeTypedefClasses() - Method in Extractor
removeUnused(File) - Method in ResourceUsageAnalyzer
Remove resources (already identified by analyze()).
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.
resolveDependencies(VariantDependencies) - Method in BasePlugin
RESOURCE_TYPE_ANNOTATIONS_SUFFIX - Field in Extractor
ResourceException - Class in com.android.build.gradle.tasks
Exception used for resource merging errors, thrown when a com.android.ide.common.res2.MergingException is thrown by the resource merging code.
ResourceException(String, Throwable) - Constructor in ResourceException
resourcePrefix(String) - Method in BaseExtension
resources(Closure) - Method in AndroidSourceSet
Configures the Java resources for this set.
ResourceUsageAnalyzer - Class in com.android.build.gradle.tasks
Class responsible for searching through a Gradle built tree (after resource merging, compilation and ProGuarding has been completed, but before final .apk assembly), which figures out which resources if any are unused, and removes them.
ResourceUsageAnalyzer.Resource - Class in com.android.build.gradle.tasks
ResourceUsageAnalyzer(File, File, File, File, File) - Constructor in ResourceUsageAnalyzer
resValue(String, String, String) - Method in BaseVariant
Adds a variant-specific res value.
rewriteResourceZip(File, File) - Method in ResourceUsageAnalyzer
"Removes" resources from an .ap_ file by writing it out while filtering out unused resources.

S

sdkHandler - Field in BasePlugin
serializeMap(Map<String, String>) - Method in ManifestProcessorTask
Serialize a map key+value pairs into a comma separated list.
setAssembleTest(Task) - Method in BasePlugin
setBuildToolsVersion(String) - Method in BaseExtension
setCompileSdkVersion(String) - Method in BaseExtension
setDebug(boolean) - Method in ResourceUsageAnalyzer
setDefaultPublishConfig(String) - Method in BaseExtension
setDryRun(boolean) - Method in ResourceUsageAnalyzer
setEnforceUniquePackageName(boolean) - Method in BaseExtension
setFatalOnly(boolean) - Method in Lint
setIgnore(boolean) - Method in VariantFilter
Sets whether or not to ignore this particular variant.
setListIgnored(boolean) - Method in Extractor
setOutputFile(File) - Method in BaseVariantOutput
setOutputsAreSigned(boolean) - Method in BaseVariant
If true, variant outputs will be considered signed.
setPackageBuildConfig(boolean) - Method in LibraryExtension
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.
setUseNewNativePlugin(boolean) - Method in BaseExtension
setVariantName(String) - Method in Lint
setVerbose(boolean) - Method in ResourceUsageAnalyzer
setVersionCodeOverride(int) - Method in ApkVariantOutput
Sets the version code override.
setVersionNameOverride(String) - Method in ApkVariantOutput
Sets the version name override.
shrink() - Method in ShrinkResources
ShrinkResources - Class in com.android.build.gradle.tasks
Task which strips out unused resources
signingConfigs(Action<? super NamedDomainObjectContainer<SigningConfig>>) - Method in BaseExtension
Configures the signing configs.
sourceSets(Action<NamedDomainObjectContainer<AndroidSourceSet>>) - Method in BaseExtension
Configures the source sets.
splits(Action<Splits>) - Method in BaseExtension
Configures APK splits.
SplitZipAlign - Class in com.android.build.gradle.tasks
Task to zip align all the splits
splitZipAlign() - Method in SplitZipAlign
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.
SUPPORT_NOTNULL - Field in Extractor
SUPPORT_NULLABLE - Field in Extractor

T

taskAction(IncrementalTaskInputs) - Method in Dex
Actual entry point for the action.
taskAction(IncrementalTaskInputs) - Method in JillTask
taskAction(IncrementalTaskInputs) - Method in NdkCompile
taskAction(IncrementalTaskInputs) - Method in PreDex
taskAction() - Method in RenderscriptCompile
TEST_SDK_DIR - Field in BasePlugin
testOptions(Action<TestOptions>) - Method in BaseExtension
Configures the test options.
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.
toString() - Method in ApkOutputFile
toString() - Method in ResourceUsageAnalyzer.Resource
TWO_PASS_AAPT - Field in ResourceUsageAnalyzer
Whether we support running aapt twice, to regenerate the resources.arsc file such that we can strip out value resources as well.
type - Field in ResourceUsageAnalyzer.Resource
Type of resource
TypedefCollector - Class in com.android.build.gradle.tasks.annotations
Gathers information about typedefs (
IntDef:
and
@StringDef
TypedefCollector(Collection<CompilationUnitDeclaration>, boolean, boolean) - Constructor in TypedefCollector
TYPICAL_RESOURCE_COUNT - Field in ResourceUsageAnalyzer

U

uninstallAll - Field in BasePlugin

V

value - Field in ResourceUsageAnalyzer.Resource
Integer id location
variant - Field in ExtractAnnotations
VariantFilter - Interface in com.android.build.gradle.api
Interface for variant control, allowing to query a variant for some base data and allowing to disable some variants.
variantFilter(Closure<Void>) - Method in BaseExtension
variantOutputData - Field in ShrinkResources
Associated variant data that the strip task will be run against.
visit(TypeDeclaration, CompilationUnitScope) - Method in TypedefCollector
visitBuildScript(Context, Map<String, Object>) - Method in GroovyGradleDetector

W

wrapJavaSourceSet(SourceSet) - Method in BaseExtension
writeStats() - Method in Extractor

X

Y

Z

ZipAlign - Class in com.android.build.gradle.tasks
zipAlign() - Method in ZipAlign

_

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 _