Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accept(T) - Method in interface com.android.builder.utils.ExceptionConsumer
-
Performs an operation on the given input.
- accept(T) - Method in interface com.android.builder.utils.ExceptionFunction
-
Performs an operation on the given input.
- acceptOnlyOne() - Static method in class com.android.builder.merge.StreamMergeAlgorithms
-
Algorithm that only accepts one input, failing with
DuplicateRelativeFileExceptionif invoked with more than one input. - add(ZipCentralDirectory) - Method in class com.android.builder.files.KeyedFileCache
-
Adds a file to the cache, replacing any file that had the exact same absolute path.
- add(File) - Method in class com.android.builder.files.KeyedFileCache
-
Adds a file to the cache, replacing any file that had the exact same absolute path.
- addDirectory(Path) - Method in class com.android.builder.packaging.JarFlinger
- addDirectory(Path, Predicate<String>, JarFlinger.Transformer) - Method in class com.android.builder.packaging.JarFlinger
- addDirectory(Path, Predicate<String>, JarFlinger.Transformer, JarFlinger.Relocator) - Method in class com.android.builder.packaging.JarFlinger
- addEntry(String, InputStream) - Method in class com.android.builder.packaging.JarFlinger
- addFile(String, byte[], int, int) - Method in interface com.android.builder.dexing.DexArchive
-
Adds a DEX file to this dex archive from a byte[].
- addFile(String, Path) - Method in class com.android.builder.packaging.JarFlinger
- addHint(String) - Method in class com.android.builder.dexing.D8DiagnosticsHandler
- addJar(InputStream) - Method in class com.android.builder.packaging.JarFlinger
- addJar(Path) - Method in class com.android.builder.packaging.JarFlinger
- addJar(Path, Predicate<String>, JarFlinger.Relocator) - Method in class com.android.builder.packaging.JarFlinger
- allIgnoringDuplicateResources() - Static method in class com.android.builder.packaging.JarFlinger
-
A filter that keeps everything but ignores duplicate resources.
- ANDROID - Enum constant in enum class com.android.builder.dependency.level2.DependencyNode.NodeType
- ANDROID_TEST - Static variable in class com.android.builder.core.BuilderConstants
- ANDROID_WEAR - Static variable in class com.android.builder.core.BuilderConstants
- ANDROID_WEAR_MICRO_APK - Static variable in class com.android.builder.core.BuilderConstants
- AndroidDependency - Class in com.android.builder.dependency.level2
-
Represents an Android Library and its content.
- AndroidDependency(File, MavenCoordinates, String, String, File, File, String, boolean) - Constructor for class com.android.builder.dependency.level2.AndroidDependency
- ApkInfoParser - Class in com.android.builder.core
-
Class to parse an APK with aapt to gather information
- ApkInfoParser(File, ProcessExecutor) - Constructor for class com.android.builder.core.ApkInfoParser
-
Constructs a new parser
- ApkInfoParser.ApkInfo - Class in com.android.builder.core
-
Information about an APK
- asConsumer(ExceptionConsumer<T>) - Static method in interface com.android.builder.utils.ExceptionConsumer
B
- BuilderConstants - Class in com.android.builder.core
-
Generic constants.
- BuilderConstants() - Constructor for class com.android.builder.core.BuilderConstants
C
- checkFileForApkPackaging(String, boolean) - Static method in class com.android.builder.packaging.PackagingUtils
-
Checks a file to make sure it should be packaged as standard resources.
- CLASS_MATCHER - Static variable in interface com.android.builder.dexing.ClassFileInput
-
Accepts Unix-style or Windows-style absolute or relative path.
- CLASSES_ONLY - Static variable in class com.android.builder.packaging.JarFlinger
- ClassFileEntry - Interface in com.android.builder.dexing
-
A single .class file abstraction.
- ClassFileInput - Interface in com.android.builder.dexing
-
This represents input containing .class files.
- ClassFileInputs - Class in com.android.builder.dexing
-
Helper methods for creating
ClassFileInputinstances. - ClassFileProviderFactory - Class in com.android.builder.dexing.r8
-
Provides
ClassFileResourceProvidersuitable for D8/R8 classpath and bootclasspath entries. - ClassFileProviderFactory(Collection<Path>) - Constructor for class com.android.builder.dexing.r8.ClassFileProviderFactory
- clear() - Method in class com.android.builder.files.KeyedFileCache
-
Clears the cache.
- close() - Method in class com.android.builder.dexing.r8.ClassFileProviderFactory
- close() - Method in class com.android.builder.merge.DelegateIncrementalFileMergerInput
- close() - Method in class com.android.builder.merge.DelegateIncrementalFileMergerOutput
- close() - Method in class com.android.builder.merge.LazyIncrementalFileMergerInput
- close() - Method in class com.android.builder.packaging.JarFlinger
- com.android.builder.compiling - package com.android.builder.compiling
- com.android.builder.core - package com.android.builder.core
- com.android.builder.dependency - package com.android.builder.dependency
- com.android.builder.dependency.level2 - package com.android.builder.dependency.level2
- com.android.builder.dexing - package com.android.builder.dexing
- com.android.builder.dexing.r8 - package com.android.builder.dexing.r8
- com.android.builder.files - package com.android.builder.files
- com.android.builder.merge - package com.android.builder.merge
-
The
mergepackage provides the implementation of an incremental merger. - com.android.builder.multidex - package com.android.builder.multidex
- com.android.builder.packaging - package com.android.builder.packaging
- com.android.builder.png - package com.android.builder.png
- com.android.builder.sdk - package com.android.builder.sdk
- com.android.builder.signing - package com.android.builder.signing
- com.android.builder.testing - package com.android.builder.testing
- com.android.builder.utils - package com.android.builder.utils
- concat() - Static method in class com.android.builder.merge.StreamMergeAlgorithms
-
Algorithm that concatenates streams ensuring each stream ends with a UNIX newline character.
- CONNECTED - Static variable in class com.android.builder.core.BuilderConstants
- convertToMessage(Message.Kind, Diagnostic) - Method in class com.android.builder.dexing.D8DiagnosticsHandler
- convertToMessage(Message.Kind, String, Origin, Position) - Method in class com.android.builder.dexing.D8DiagnosticsHandler
- copyOf(DexOptions) - Static method in class com.android.builder.core.DefaultDexOptions
-
Deprecated.
- copyOf(VectorDrawablesOptions) - Static method in class com.android.builder.core.DefaultVectorDrawablesOptions
-
Deprecated.
- create(Object) - Static method in class com.android.builder.core.DefaultApiVersion
- create(String, InputStream, boolean) - Method in interface com.android.builder.merge.MergeOutputWriter
-
Creates a new path in the output.
- create(String, List<IncrementalFileMergerInput>, boolean) - Method in class com.android.builder.merge.DelegateIncrementalFileMergerOutput
- create(String, List<IncrementalFileMergerInput>, boolean) - Method in interface com.android.builder.merge.IncrementalFileMergerOutput
-
A path needs to be created.
- createD8DexMerger(MessageReceiver, DexingType, int, boolean, ForkJoinPool) - Static method in interface com.android.builder.dexing.DexArchiveMerger
-
Creates an instance of dex archive merger that is using d8 to merge dex files.
- createExplodedAarLibrary(File, MavenCoordinates, String, String, File) - Static method in class com.android.builder.dependency.level2.AndroidDependency
- createIfAbsent(ExceptionConsumer<File>) - Method in class com.android.builder.utils.SynchronizedFile
-
Executes an action that creates the file if it does not yet exist.
- createMockableJar(File, File) - Method in class com.android.builder.testing.MockableJarGenerator
D
- D8DiagnosticsHandler - Class in com.android.builder.dexing
- D8DiagnosticsHandler(MessageReceiver) - Constructor for class com.android.builder.dexing.D8DiagnosticsHandler
- D8DiagnosticsHandler(MessageReceiver, String) - Constructor for class com.android.builder.dexing.D8DiagnosticsHandler
- D8MainDexList - Class in com.android.builder.multidex
-
This is a utility class that is using D8 to get the main dex list.
- D8MainDexList.MainDexListException - Exception in com.android.builder.multidex
- DEBUG - Static variable in class com.android.builder.core.BuilderConstants
- DEFAULT_AAPT_NO_COMPRESS_EXTENSIONS - Static variable in class com.android.builder.packaging.PackagingUtils
-
List of file formats which are already compressed or don't compress well, same as the one used by aapt.
- DEFAULT_BUILD_TOOLS_REVISION - Static variable in class com.android.builder.core.ToolsRevisionUtils
-
Default version of build tools that will be used if the user does not specify.
- DEFAULT_NO_COMPRESS_FILE_NAMES - Static variable in class com.android.builder.packaging.PackagingUtils
- DefaultApiVersion - Class in com.android.builder.core
-
Basic implementation of ApiVersion
- DefaultApiVersion(int) - Constructor for class com.android.builder.core.DefaultApiVersion
- DefaultApiVersion(String) - Constructor for class com.android.builder.core.DefaultApiVersion
-
API version for a preview Android Version.
- DefaultDexOptions - Class in com.android.builder.core
-
Deprecated.
- DefaultDexOptions() - Constructor for class com.android.builder.core.DefaultDexOptions
-
Deprecated.
- DefaultManifestParser - Class in com.android.builder.core
-
Deprecated.
- DefaultManifestParser(File, BooleanSupplier, boolean, IssueReporter) - Constructor for class com.android.builder.core.DefaultManifestParser
-
Deprecated.Builds instance of the parser, and parses the supplied file.
- DefaultSdkLoader - Class in com.android.builder.sdk
-
Singleton-based implementation of SdkLoader for a standard SDK
- DefaultVectorDrawablesOptions - Class in com.android.builder.core
-
Default implementation of
VectorDrawablesOptions. - DefaultVectorDrawablesOptions() - Constructor for class com.android.builder.core.DefaultVectorDrawablesOptions
- DelegateIncrementalFileMergerInput - Class in com.android.builder.merge
-
IncrementalFileMergerInputthat delegates all operations to anotherIncrementalFileMergerInput. - DelegateIncrementalFileMergerInput(IncrementalFileMergerInput) - Constructor for class com.android.builder.merge.DelegateIncrementalFileMergerInput
-
Creates a new input.
- DelegateIncrementalFileMergerOutput - Class in com.android.builder.merge
-
IncrementalFileMergerOutputthat delegates execution to anotherIncrementalFileMergerOutput. - DelegateIncrementalFileMergerOutput(IncrementalFileMergerOutput) - Constructor for class com.android.builder.merge.DelegateIncrementalFileMergerOutput
-
Creates a new output.
- Dependency - Class in com.android.builder.dependency.level2
-
Base attributes for a dependency element.
- Dependency(File, MavenCoordinates, String, String) - Constructor for class com.android.builder.dependency.level2.Dependency
- DependencyFileProcessor - Interface in com.android.builder.compiling
-
A Class that processes a dependency file after a compilation.
- DependencyMutableData - Class in com.android.builder.dependency
-
Mutable data for an Android dependency.
- DependencyMutableData() - Constructor for class com.android.builder.dependency.DependencyMutableData
- DependencyNode - Class in com.android.builder.dependency.level2
-
A node in the dependency graph.
- DependencyNode(Object, DependencyNode.NodeType, List<DependencyNode>, MavenCoordinates) - Constructor for class com.android.builder.dependency.level2.DependencyNode
- DependencyNode.NodeType - Enum Class in com.android.builder.dependency.level2
- DEVICE - Static variable in class com.android.builder.core.BuilderConstants
- DexArchive - Interface in com.android.builder.dexing
-
Interface describing the DEX archive.
- DexArchiveBuilderException - Exception in com.android.builder.dexing
-
Exception thrown if something goes wrong when building a dex archive.
- DexArchiveBuilderException(String, Throwable) - Constructor for exception com.android.builder.dexing.DexArchiveBuilderException
- DexArchiveBuilderException(Throwable) - Constructor for exception com.android.builder.dexing.DexArchiveBuilderException
- DexArchiveEntry - Class in com.android.builder.dexing
-
A single DEX file in a dex archive.
- DexArchiveEntry(byte[], String, DexArchive) - Constructor for class com.android.builder.dexing.DexArchiveEntry
- DexArchiveMerger - Interface in com.android.builder.dexing
-
A dex archive merger that can merge dex files from multiple dex archives into one or more dex files.
- DexArchiveMergerException - Exception in com.android.builder.dexing
-
An exception thrown is dex archive merging fails.
- DexArchiveMergerException(String, Throwable) - Constructor for exception com.android.builder.dexing.DexArchiveMergerException
- DexArchives - Class in com.android.builder.dexing
-
Helper methods for the
DexArchive. - DexFileNameSupplier - Class in com.android.builder.packaging
-
Supplier that provides sequential names for dex files.
- DexFileNameSupplier() - Constructor for class com.android.builder.packaging.DexFileNameSupplier
-
Creates a new renamer.
- DexOptions - Interface in com.android.builder.core
- DIRECTORY - Enum constant in enum class com.android.builder.files.RelativeFile.Type
- dontDownload() - Static method in class com.android.builder.sdk.SdkLibData
- download(Downloader, SettingsController) - Static method in class com.android.builder.sdk.SdkLibData
- DuplicatePathInIncrementalInputException - Exception in com.android.builder.merge
-
Exception thrown when more than one file with the same relative path is found in an incremental input for a merge.
- DuplicatePathInIncrementalInputException(String) - Constructor for exception com.android.builder.merge.DuplicatePathInIncrementalInputException
-
Creates a new exception.
E
- ECMA_SCRIPT_ESCAPABLE_CHARACTERS - Static variable in class com.android.builder.packaging.PackagingUtils
-
Set of characters that need to be escaped when creating an ECMAScript regular expression.
- entries(BiPredicate<Path, String>) - Method in interface com.android.builder.dexing.ClassFileInput
- equals(Object) - Method in class com.android.builder.core.DefaultApiVersion
- equals(Object) - Method in class com.android.builder.dependency.level2.AndroidDependency
- equals(Object) - Method in class com.android.builder.dependency.level2.Dependency
- equals(Object) - Method in class com.android.builder.dependency.level2.DependencyNode
- equals(Object) - Method in class com.android.builder.dependency.level2.ExtractedDependency
- equals(Object) - Method in class com.android.builder.dependency.level2.JavaDependency
- equals(Object) - Method in class com.android.builder.files.RelativeFile
- error(Diagnostic) - Method in class com.android.builder.dexing.D8DiagnosticsHandler
- ExceptionConsumer<T> - Interface in com.android.builder.utils
-
Consumer that can throw an
Exception. - ExceptionFunction<T,
R> - Interface in com.android.builder.utils -
Function that can throw an
Exception. - ExceptionRunnable - Interface in com.android.builder.utils
-
A runnable that can throw any exceptions.
- EXCLUDE_CLASSES - Static variable in class com.android.builder.packaging.JarFlinger
- EXT_LIB_ARCHIVE - Static variable in class com.android.builder.core.BuilderConstants
-
Extension for library packages.
- EXTERNAL_BUILD - Static variable in class com.android.builder.core.BuilderConstants
- ExtractedDependency - Class in com.android.builder.dependency.level2
-
Based implementation for all dependency types that need to extract its archive before usage.
- ExtractedDependency(File, MavenCoordinates, String, String, File, String) - Constructor for class com.android.builder.dependency.level2.ExtractedDependency
-
Creates the mBundle dependency with an optional mName.
F
- FD_ANDROID_RESULTS - Static variable in class com.android.builder.core.BuilderConstants
- FD_ANDROID_TESTS - Static variable in class com.android.builder.core.BuilderConstants
- FD_FLAVORS - Static variable in class com.android.builder.core.BuilderConstants
- FD_FLAVORS_ALL - Static variable in class com.android.builder.core.BuilderConstants
- FD_MANAGED_DEVICE_SETUP_RESULTS - Static variable in class com.android.builder.core.BuilderConstants
- FD_REPORTS - Static variable in class com.android.builder.core.BuilderConstants
- fileInDirectory(String, File) - Static method in class com.android.builder.files.RelativeFile
- fileNameKey(File) - Static method in class com.android.builder.files.KeyedFileCache
-
Computes a unique key identifying the path of the file.
- filter(String, InputStream) - Method in interface com.android.builder.packaging.JarFlinger.Transformer
-
Transforms the given file.
- FilterIncrementalFileMergerInput - Class in com.android.builder.merge
-
IncrementalFileMergerInputthat filters input based on a predicate over the accepted paths. - FilterIncrementalFileMergerInput(IncrementalFileMergerInput, Predicate<String>) - Constructor for class com.android.builder.merge.FilterIncrementalFileMergerInput
-
Creates a new incremental input based on another input filtering all files whose OS-independent path are not accepted by the provided predicate.
- fromAlgorithmAndWriter(StreamMergeAlgorithm, MergeOutputWriter) - Static method in class com.android.builder.merge.IncrementalFileMergerOutputs
-
Creates a new output that merges files using the provided algorithm and writes the merged file using the provided writer.
- fromDirectory(File) - Static method in class com.android.builder.files.IncrementalRelativeFileSets
-
Deprecated.Prefer the new Gradle InputChanges API.
- fromDirectory(File) - Static method in class com.android.builder.files.RelativeFiles
-
Loads all files in a directory recursively.
- fromDirectory(File, Predicate<RelativeFile>) - Static method in class com.android.builder.files.RelativeFiles
-
Loads all files in a directory recursively, filtering the results with a predicate.
- fromInput(Path) - Static method in class com.android.builder.dexing.DexArchives
-
Creates a
DexArchivefrom the specified path. - fromNew(String, Set<File>) - Static method in class com.android.builder.merge.LazyIncrementalFileMergerInputs
-
Creates an input from a set of directories or zips without any incremental information.
- fromPath(Path) - Static method in class com.android.builder.dexing.ClassFileInputs
-
Creates a
ClassFileInputby analyzing the specified root path. - fromPathPredicate(Predicate<String>) - Static method in class com.android.builder.files.RelativeFiles
-
Constructs a predicate over relative files from a predicate over paths, applying it to the normalized relative path contained in the relative file.
- fromZip(ZipCentralDirectory) - Static method in class com.android.builder.files.IncrementalRelativeFileSets
-
Reads a zip file and adds all files in the file in a new incremental relative set.
- fromZip(ZipCentralDirectory) - Static method in class com.android.builder.files.RelativeFiles
-
Reads a zip file and adds all files in the file in a new relative set.
- fromZip(ZipCentralDirectory, KeyedFileCache, Set<Runnable>) - Static method in class com.android.builder.files.IncrementalRelativeFileSets
-
Computes the incremental file set that results from comparing a zip file with a possibly existing cached file.
- fromZip(ZipCentralDirectory, FileStatus) - Static method in class com.android.builder.files.IncrementalRelativeFileSets
-
Reads a zip file and adds all files in the file in a new incremental relative set.
- fromZip(File) - Static method in class com.android.builder.files.IncrementalRelativeFileSets
-
Reads a zip file and adds all files in the file in a new incremental relative set.
- fromZip(File, FileStatus) - Static method in class com.android.builder.files.IncrementalRelativeFileSets
-
Reads a zip file and adds all files in the file in a new incremental relative set.
G
- generate(List<String>, List<Path>, Collection<Path>, Collection<Path>, MessageReceiver) - Static method in class com.android.builder.multidex.D8MainDexList
-
Returns the list of classes that should be kept in the main dex file for legacy multidex.
- GENERATED - Static variable in class com.android.builder.core.BuilderConstants
- generateFile(File, File) - Method in class com.android.builder.png.VectorDrawableRenderer
- get() - Method in class com.android.builder.packaging.DexFileNameSupplier
- get(File) - Method in class com.android.builder.files.KeyedFileCache
-
Obtains the cached file corresponding to the file with the given path.
- getAaptOutput(File) - Method in class com.android.builder.core.ApkInfoParser
-
Returns the full 'aapt2 dump badging' output for the given APK.
- getAdb() - Method in class com.android.builder.sdk.SdkInfo
-
Returns the location of the adb tool.
- getAdditionalClasspath() - Method in class com.android.builder.dependency.level2.AndroidDependency
- getAdditionalClasspath() - Method in class com.android.builder.dependency.level2.Dependency
- getAdditionalClasspath() - Method in class com.android.builder.dependency.level2.JavaDependency
- getAdditionalParameters() - Method in class com.android.builder.core.DefaultDexOptions
-
Deprecated.List of additional parameters to be passed to
dx. - getAdditionalParameters() - Method in interface com.android.builder.core.DexOptions
- getAddress() - Method in class com.android.builder.dependency.level2.Dependency
-
Returns a unique address that matches
DependencyNode.getAddress(). - getAddress() - Method in class com.android.builder.dependency.level2.DependencyNode
-
Returns a unique address that matches
Dependency.getAddress(). - getAddress() - Method in class com.android.builder.dependency.level2.ExtractedDependency
-
Returns a unique address that matches
DependencyNode.getAddress(). - getAffectedPackages() - Method in exception com.android.builder.sdk.InstallFailedException
- getAffectedPackages() - Method in exception com.android.builder.sdk.LicenceNotAcceptedException
- getAidlFolder() - Method in class com.android.builder.dependency.level2.AndroidDependency
- getAllPaths() - Method in class com.android.builder.merge.DelegateIncrementalFileMergerInput
- getAllPaths() - Method in class com.android.builder.merge.FilterIncrementalFileMergerInput
- getAllPaths() - Method in interface com.android.builder.merge.IncrementalFileMergerInput
-
Obtains all OS-independent paths of all files that in this input, regardless of being changed or not.
- getAllPaths() - Method in class com.android.builder.merge.LazyIncrementalFileMergerInput
- getAllPaths() - Method in class com.android.builder.merge.RenameIncrementalFileMergerInput
- getAnnotationsJar() - Method in class com.android.builder.sdk.SdkInfo
-
Returns the location of the annotations jar for compilation targets that are ≤ 15.
- getApiLevel() - Method in class com.android.builder.core.DefaultApiVersion
- getApiString() - Method in class com.android.builder.core.DefaultApiVersion
- getArtifactFile() - Method in class com.android.builder.dependency.level2.AndroidDependency
- getArtifactFile() - Method in class com.android.builder.dependency.level2.Dependency
-
Returns the artifact location.
- getAssetsFolder() - Method in class com.android.builder.dependency.level2.ExtractedDependency
- getBase() - Method in class com.android.builder.files.RelativeFile
-
Obtains the base directory or jar.
- getBuildTools() - Method in class com.android.builder.sdk.TargetInfo
-
Returns the BuildToolInfo
- getClasspathFile() - Method in class com.android.builder.dependency.level2.Dependency
- getClasspathFile() - Method in class com.android.builder.dependency.level2.ExtractedDependency
- getClasspathFile() - Method in class com.android.builder.dependency.level2.JavaDependency
- getCodename() - Method in class com.android.builder.core.DefaultApiVersion
- getConfigurations(File) - Method in class com.android.builder.core.ApkInfoParser
-
Returns the configurations (e.g.
- getCoordForLocalJar(File) - Static method in class com.android.builder.dependency.level2.JavaDependency
- getCoordinates() - Method in class com.android.builder.dependency.level2.Dependency
-
Returns the maven coordinates.
- getDependencies() - Method in class com.android.builder.dependency.level2.DependencyNode
-
Return the direct dependency of this node.
- getDexArchive() - Method in class com.android.builder.dexing.DexArchiveEntry
- getDexFileContent() - Method in class com.android.builder.dexing.DexArchiveEntry
-
Returns content of this DEX file.
- getDexInProcess() - Method in class com.android.builder.core.DefaultDexOptions
-
Deprecated.Whether to run the
dxcompiler as a separate process or inside the Gradle daemon JVM. - getDexInProcess() - Method in interface com.android.builder.core.DexOptions
- getDexPackagingMode(Boolean, boolean) - Static method in class com.android.builder.packaging.PackagingUtils
- getDownloader() - Method in class com.android.builder.sdk.SdkLibData
-
Returns the downloader used to download the missing SDK components.
- getExternalAnnotations() - Method in class com.android.builder.dependency.level2.AndroidDependency
- getExtractedFolder() - Method in class com.android.builder.dependency.level2.ExtractedDependency
- getExtractNativeLibs() - Method in class com.android.builder.core.DefaultManifestParser
-
Deprecated.
- getExtractNativeLibs() - Method in interface com.android.builder.core.ManifestAttributeSupplier
-
Deprecated.Returns value of the
extractNativeLibsattribute of theapplicationtag, if present. - getFile() - Method in class com.android.builder.files.RelativeFile
-
Returns the actual file from the directory.
- getFileStatus(String) - Method in class com.android.builder.merge.DelegateIncrementalFileMergerInput
- getFileStatus(String) - Method in class com.android.builder.merge.FilterIncrementalFileMergerInput
- getFileStatus(String) - Method in interface com.android.builder.merge.IncrementalFileMergerInput
-
Obtains the status of a path in this input.
- getFileStatus(String) - Method in class com.android.builder.merge.LazyIncrementalFileMergerInput
- getFileStatus(String) - Method in class com.android.builder.merge.RenameIncrementalFileMergerInput
- getFilesToBeGenerated(File) - Method in class com.android.builder.png.VectorDrawableRenderer
- getFunctionalTest() - Method in class com.android.builder.core.DefaultManifestParser
-
Deprecated.Gets the functionalTest for instrumentation in the manifest file processed by this parser.
- getFunctionalTest() - Method in interface com.android.builder.core.ManifestAttributeSupplier
-
Deprecated.Returns the functionalTest from the instrumentation tag in the manifest file.
- getGeneratedDensities() - Method in class com.android.builder.core.DefaultVectorDrawablesOptions
- getHandleProfiling() - Method in class com.android.builder.core.DefaultManifestParser
-
Deprecated.Gets the handleProfiling for instrumentation in the manifest file processed by this parser.
- getHandleProfiling() - Method in interface com.android.builder.core.ManifestAttributeSupplier
-
Deprecated.Returns the handleProfiling from the instrumentation tag in the manifest file.
- getId() - Method in class com.android.builder.dexing.r8.ClassFileProviderFactory
- getInput() - Method in interface com.android.builder.dexing.ClassFileEntry
-
Return the
ClassFileInputthat has produced this entry - getInstanceWithMultiProcessLocking(File) - Static method in class com.android.builder.utils.SynchronizedFile
-
Returns a
SynchronizedFileinstance for the given file, where synchronization on the same file takes effect for threads both within the same process and across different processes (two files are the same if they refer to the same physical file). - getInstanceWithSingleProcessLocking(File) - Static method in class com.android.builder.utils.SynchronizedFile
-
Returns a
SynchronizedFileinstance for the given file, where synchronization on the same file takes effect for threads within the same process but not for threads across different processes (two files are the same if they refer to the same physical file). - getInstrumentationRunner() - Method in class com.android.builder.core.DefaultManifestParser
-
Deprecated.Gets the instrumentation runner for the manifest file processed by this parser.
- getInstrumentationRunner() - Method in interface com.android.builder.core.ManifestAttributeSupplier
-
Deprecated.Returns the instrumentation runner from the instrumentation tag in the manifest file.
- getJarFile() - Method in class com.android.builder.dependency.level2.AndroidDependency
- getJarFile() - Method in class com.android.builder.dependency.level2.ExtractedDependency
-
Returns the location of the jar file to use for either packaging or compiling depending on the bundle type.
- getJarsRootFolder() - Method in class com.android.builder.dependency.level2.AndroidDependency
- getJavaMaxHeapSize() - Method in class com.android.builder.core.DefaultDexOptions
-
Deprecated.Specifies the
-Xmxvalue when calling dx. - getJavaMaxHeapSize() - Method in interface com.android.builder.core.DexOptions
- getJniFolder() - Method in class com.android.builder.dependency.level2.AndroidDependency
- getJumboMode() - Method in class com.android.builder.core.DefaultDexOptions
-
Deprecated.Enable jumbo mode in dx (
--force-jumbo). - getJumboMode() - Method in interface com.android.builder.core.DexOptions
- getKeepRuntimeAnnotatedClasses() - Method in class com.android.builder.core.DefaultDexOptions
-
Deprecated.Keep all classes with runtime annotations in the main dex in legacy multidex.
- getKeepRuntimeAnnotatedClasses() - Method in interface com.android.builder.core.DexOptions
- getLintJar() - Method in class com.android.builder.dependency.level2.AndroidDependency
- getLoader(AndroidLocationsProvider, File) - Static method in class com.android.builder.sdk.DefaultSdkLoader
- getLoader(File) - Static method in class com.android.builder.sdk.PlatformLoader
- getLocalEmulator(ILogger) - Method in class com.android.builder.sdk.DefaultSdkLoader
- getLocalEmulator(ILogger) - Method in class com.android.builder.sdk.PlatformLoader
- getLocalEmulator(ILogger) - Method in interface com.android.builder.sdk.SdkLoader
-
Retrieves the local emulator repository if it exists.
- getLocalesFromApkContents(List<String>) - Static method in class com.android.builder.core.ApkInfoParser
-
Returns the locales of an apk as found in the badging information or null if no locales found
- getLocalJars() - Method in class com.android.builder.dependency.level2.AndroidDependency
-
returns the list of local jar for this android AAR.
- getLockFile(File) - Static method in class com.android.builder.utils.SynchronizedFile
-
Returns the path to the lock file that has been or will be created next to the file being synchronized under the same parent directory.
- getManifest() - Method in class com.android.builder.dependency.level2.ExtractedDependency
- getManifestContent(File) - Method in class com.android.builder.core.ApkInfoParser
- getMaxProcessCount() - Method in class com.android.builder.core.DefaultDexOptions
-
Deprecated.Returns the maximum number of concurrent processes that can be used to dex.
- getMaxProcessCount() - Method in interface com.android.builder.core.DexOptions
- getMinSdkVersion() - Method in class com.android.builder.core.DefaultManifestParser
-
Deprecated.Gets the minimum sdk version for the manifest file processed by this parser.
- getMinSdkVersion() - Method in interface com.android.builder.core.ManifestAttributeSupplier
-
Deprecated.Returns the minSdkVersion from the manifest file.
- getName() - Method in class com.android.builder.dependency.level2.Dependency
-
Returns a user friendly name.
- getName() - Method in class com.android.builder.merge.DelegateIncrementalFileMergerInput
- getName() - Method in interface com.android.builder.merge.IncrementalFileMergerInput
-
Obtains the name of this input.
- getName() - Method in class com.android.builder.merge.LazyIncrementalFileMergerInput
- getNativeLibrariesLibrariesPackagingMode(Boolean) - Static method in class com.android.builder.packaging.PackagingUtils
- getNoCompressForAapt(Collection<String>) - Static method in class com.android.builder.packaging.PackagingUtils
- getNoCompressGlobsForBundle(Collection<String>) - Static method in class com.android.builder.packaging.PackagingUtils
- getNoCompressPredicate(Collection<String>, NativeLibrariesPackagingMode, DexPackagingMode) - Static method in class com.android.builder.packaging.PackagingUtils
- getNoCompressPredicateForJavaRes(Collection<String>) - Static method in class com.android.builder.packaging.PackagingUtils
- getNodeType() - Method in class com.android.builder.dependency.level2.DependencyNode
- getOptimize() - Method in class com.android.builder.core.DefaultDexOptions
-
Deprecated.Dex is always optimized. This returns
truealways. - getOrderedProvider() - Method in class com.android.builder.dexing.r8.ClassFileProviderFactory
- getOrigin(ClassFileEntry) - Static method in class com.android.builder.dexing.D8DiagnosticsHandler
- getOrigin(DexArchiveEntry) - Static method in class com.android.builder.dexing.D8DiagnosticsHandler
- getPackage() - Method in class com.android.builder.core.DefaultManifestParser
-
Deprecated.Gets the package name for the manifest file processed by this parser.
- getPackage() - Method in interface com.android.builder.core.ManifestAttributeSupplier
-
Deprecated.Returns the package name from the manifest file.
- getPackageName() - Method in class com.android.builder.core.ApkInfoParser.ApkInfo
- getPath() - Method in interface com.android.builder.dexing.ClassFileInput
- getPendingHints() - Method in class com.android.builder.dexing.D8DiagnosticsHandler
- getPreDexLibraries() - Method in class com.android.builder.core.DefaultDexOptions
-
Deprecated.Whether to pre-dex libraries.
- getPreDexLibraries() - Method in interface com.android.builder.core.DexOptions
- getPreprocessingReasonDescription(File) - Method in class com.android.builder.png.VectorDrawableRenderer
- getProguardRules() - Method in class com.android.builder.dependency.level2.AndroidDependency
- getProjectPath() - Method in class com.android.builder.dependency.level2.Dependency
-
Returns an optional project path if the dependency is a sub-module.
- getPublicResources() - Method in class com.android.builder.dependency.level2.AndroidDependency
- getRelativePath() - Method in interface com.android.builder.dexing.ClassFileEntry
-
Return the relative path from the root of the archive/folder abstraction.
- getRelativePath() - Method in class com.android.builder.files.RelativeFile
-
Obtains the OS independent path.
- getRelativePathInArchive() - Method in class com.android.builder.dexing.DexArchiveEntry
-
Returns a path relative to the root path of the dex archive containing it.
- getRenderscriptFolder() - Method in class com.android.builder.dependency.level2.AndroidDependency
- getRepositories() - Method in class com.android.builder.sdk.DefaultSdkLoader
- getRepositories() - Method in class com.android.builder.sdk.PlatformLoader
- getRepositories() - Method in interface com.android.builder.sdk.SdkLoader
-
Returns the location of artifact repositories built-in the SDK.
- getRequestedCoordinates() - Method in class com.android.builder.dependency.level2.DependencyNode
-
Returns this library's Maven coordinates, as requested in the build file.
- getResFolder() - Method in class com.android.builder.dependency.level2.ExtractedDependency
- getRootPath() - Method in interface com.android.builder.dexing.DexArchive
-
Returns the path to this DEX archive.
- getSdkInfo(ILogger) - Method in class com.android.builder.sdk.DefaultSdkLoader
- getSdkInfo(ILogger) - Method in class com.android.builder.sdk.PlatformLoader
- getSdkInfo(ILogger) - Method in interface com.android.builder.sdk.SdkLoader
-
Returns generic SDK information.
- getSettings() - Method in class com.android.builder.sdk.SdkLibData
-
Returns the settings used to download the missing SDK components.
- getSize() - Method in interface com.android.builder.dexing.ClassFileEntry
-
Returns the entry size in bytes.
- getSortedDexArchiveEntries() - Method in interface com.android.builder.dexing.DexArchive
-
Returns all dex archive entries in this dex archive.
- getSplit() - Method in class com.android.builder.core.DefaultManifestParser
-
Deprecated.Gets the split name for the manifest file processed by this parser.
- getSplit() - Method in interface com.android.builder.core.ManifestAttributeSupplier
-
Deprecated.Returns the split name from the manifest file.
- getSymbolFile() - Method in class com.android.builder.dependency.level2.AndroidDependency
- getTarget() - Method in class com.android.builder.sdk.TargetInfo
-
Returns the compilation target
- getTargetInfo(String, Revision, ILogger, SdkLibData) - Method in class com.android.builder.sdk.DefaultSdkLoader
- getTargetInfo(String, Revision, ILogger, SdkLibData) - Method in class com.android.builder.sdk.PlatformLoader
- getTargetInfo(String, Revision, ILogger, SdkLibData) - Method in interface com.android.builder.sdk.SdkLoader
-
Returns information about a build target.
- getTargetPackage() - Method in class com.android.builder.core.DefaultManifestParser
-
Deprecated.Gets the target package for instrumentation in the manifest file processed by this parser.
- getTargetPackage() - Method in interface com.android.builder.core.ManifestAttributeSupplier
-
Deprecated.Returns the targetPackage from the instrumentation tag in the manifest file.
- getTargetSdkVersion() - Method in class com.android.builder.core.DefaultManifestParser
-
Deprecated.Gets the target sdk version for the manifest file processed by this parser.
- getTargetSdkVersion() - Method in interface com.android.builder.core.ManifestAttributeSupplier
-
Deprecated.Returns the targetSdkVersion from the manifest file.
- getTestLabel() - Method in class com.android.builder.core.DefaultManifestParser
-
Deprecated.Gets the testLabel for instrumentation in the manifest file processed by this parser.
- getTestLabel() - Method in interface com.android.builder.core.ManifestAttributeSupplier
-
Deprecated.Returns the testLabel from the instrumentation tag in the manifest file.
- getThreadCount() - Method in class com.android.builder.core.DefaultDexOptions
-
Deprecated.Number of threads to use when running dx.
- getThreadCount() - Method in interface com.android.builder.core.DexOptions
- getType() - Method in class com.android.builder.files.RelativeFile
- getUpdatedPaths() - Method in class com.android.builder.merge.DelegateIncrementalFileMergerInput
- getUpdatedPaths() - Method in class com.android.builder.merge.FilterIncrementalFileMergerInput
- getUpdatedPaths() - Method in interface com.android.builder.merge.IncrementalFileMergerInput
-
Obtains all OS-independent paths of all files that were changed in this input.
- getUpdatedPaths() - Method in class com.android.builder.merge.LazyIncrementalFileMergerInput
- getUpdatedPaths() - Method in class com.android.builder.merge.RenameIncrementalFileMergerInput
- getUseEmbeddedDex() - Method in class com.android.builder.core.DefaultManifestParser
-
Deprecated.
- getUseEmbeddedDex() - Method in interface com.android.builder.core.ManifestAttributeSupplier
-
Deprecated.Returns value of the
useEmbeddedDexattribute of theapplicationtag, if present. - getUseSupportLibrary() - Method in class com.android.builder.core.DefaultVectorDrawablesOptions
- getVariant() - Method in class com.android.builder.dependency.level2.ExtractedDependency
-
Returns an optional configuration name if the library is output by a module that publishes more than one variant.
- getVersionCode() - Method in class com.android.builder.core.ApkInfoParser.ApkInfo
- getVersionName() - Method in class com.android.builder.core.ApkInfoParser.ApkInfo
H
- hashCode() - Method in class com.android.builder.core.DefaultApiVersion
- hashCode() - Method in class com.android.builder.dependency.level2.AndroidDependency
- hashCode() - Method in class com.android.builder.dependency.level2.Dependency
- hashCode() - Method in class com.android.builder.dependency.level2.DependencyNode
- hashCode() - Method in class com.android.builder.dependency.level2.ExtractedDependency
- hashCode() - Method in class com.android.builder.dependency.level2.JavaDependency
- hashCode() - Method in class com.android.builder.files.RelativeFile
- hashCode(Object) - Static method in class com.android.builder.dependency.HashCodeUtils
- hashCode(Object, Object) - Static method in class com.android.builder.dependency.HashCodeUtils
- hashCode(Object, Object, Object) - Static method in class com.android.builder.dependency.HashCodeUtils
- hashCode(Object, Object, Object, Object) - Static method in class com.android.builder.dependency.HashCodeUtils
- hashCode(Object, Object, Object, Object, Object) - Static method in class com.android.builder.dependency.HashCodeUtils
- hashCode(Object, Object, Object, Object, Object, Object) - Static method in class com.android.builder.dependency.HashCodeUtils
- hashCode(Object, Object, Object, Object, Object, Object, Object, Object, Object) - Static method in class com.android.builder.dependency.HashCodeUtils
- HashCodeUtils - Class in com.android.builder.dependency
-
Utilities to calculate hashcodes without creating temporary Object[] instances.
- HashCodeUtils() - Constructor for class com.android.builder.dependency.HashCodeUtils
I
- IncrementalFileMerger - Class in com.android.builder.merge
-
Class performing an incremental merge operation.
- IncrementalFileMergerInput - Interface in com.android.builder.merge
-
Input for an incremental merge operation (see
IncrementalFileMerger.merge(java.util.List, IncrementalFileMergerOutput, IncrementalFileMergerState, Predicate). - IncrementalFileMergerOutput - Interface in com.android.builder.merge
-
Output of a merge operation.
- IncrementalFileMergerOutputs - Class in com.android.builder.merge
-
Factories for instances of
IncrementalFileMergerOutput. - IncrementalFileMergerState - Class in com.android.builder.merge
-
State of an incremental file merge.
- IncrementalFileMergerState() - Constructor for class com.android.builder.merge.IncrementalFileMergerState
-
Creates a new, empty, state.
- IncrementalRelativeFileSets - Class in com.android.builder.files
-
Utilities for incremental relative file sets, immutable maps of relative files to status.
- info(Diagnostic) - Method in class com.android.builder.dexing.D8DiagnosticsHandler
- InstallFailedException - Exception in com.android.builder.sdk
-
Exception thrown when an SDK component installation fails for another reason than a licence not being accepted.
- InstallFailedException(Path, List<RemotePackage>) - Constructor for exception com.android.builder.sdk.InstallFailedException
- installSdkTool(SdkLibData, String) - Method in class com.android.builder.sdk.DefaultSdkLoader
- installSdkTool(SdkLibData, String) - Method in class com.android.builder.sdk.PlatformLoader
- installSdkTool(SdkLibData, String) - Method in interface com.android.builder.sdk.SdkLoader
-
Installs an Android Sdk Tool if it's not already installed.
- isLocal() - Method in class com.android.builder.dependency.level2.Dependency
- isLocal() - Method in class com.android.builder.dependency.level2.JavaDependency
-
Returns if the dependency is a local jar, i.e.
- isManifestFileRequired() - Method in class com.android.builder.core.DefaultManifestParser
-
Deprecated.
- isManifestFileRequired() - Method in interface com.android.builder.core.ManifestAttributeSupplier
-
Deprecated.Whether the manifest file is required to exist.
- isProvided() - Method in class com.android.builder.dependency.DependencyMutableData
- isSkipped() - Method in class com.android.builder.dependency.DependencyMutableData
- isSubModule() - Method in class com.android.builder.dependency.level2.AndroidDependency
-
Returns whether the library is an android Lib sub-module.
J
- JAR - Enum constant in enum class com.android.builder.files.RelativeFile.Type
- JarFlinger - Class in com.android.builder.packaging
- JarFlinger(Path) - Constructor for class com.android.builder.packaging.JarFlinger
- JarFlinger(Path, Predicate<String>) - Constructor for class com.android.builder.packaging.JarFlinger
- JarFlinger.Relocator - Interface in com.android.builder.packaging
- JarFlinger.Transformer - Interface in com.android.builder.packaging
- JAVA - Enum constant in enum class com.android.builder.dependency.level2.DependencyNode.NodeType
- JavaDependency - Class in com.android.builder.dependency.level2
-
A Java dependency
- JavaDependency(File) - Constructor for class com.android.builder.dependency.level2.JavaDependency
- JavaDependency(File, MavenCoordinates, String, String) - Constructor for class com.android.builder.dependency.level2.JavaDependency
K
- KeyedFileCache - Class in com.android.builder.files
-
File cache that stored files based on the given key function.
- KeyedFileCache(File, Function<File, String>) - Constructor for class com.android.builder.files.KeyedFileCache
-
Creates a new cache.
L
- LazyIncrementalFileMergerInput - Class in com.android.builder.merge
-
Implementation of an
IncrementalFileMergerInputthat lazily loads required data. - LazyIncrementalFileMergerInput(String, CachedSupplier<Map<RelativeFile, FileStatus>>, CachedSupplier<Set<RelativeFile>>) - Constructor for class com.android.builder.merge.LazyIncrementalFileMergerInput
-
Creates a new input.
- LazyIncrementalFileMergerInputs - Class in com.android.builder.merge
-
Factory methods for
LazyIncrementalFileMergerInput. - LicenceNotAcceptedException - Exception in com.android.builder.sdk
-
Exception thrown when an SDK component cannot be installed as the licence was not accepted.
- LicenceNotAcceptedException(Path, List<RemotePackage>) - Constructor for exception com.android.builder.sdk.LicenceNotAcceptedException
- LINT - Static variable in class com.android.builder.core.BuilderConstants
M
- MAIN - Static variable in class com.android.builder.core.BuilderConstants
-
The name of the default config.
- MainDexListException(String, Throwable) - Constructor for exception com.android.builder.multidex.D8MainDexList.MainDexListException
- MANAGED_DEVICE - Static variable in class com.android.builder.core.BuilderConstants
- ManifestAttributeSupplier - Interface in com.android.builder.core
-
Deprecated.
- MAX_RECOMMENDED_COMPILE_SDK_VERSION - Static variable in class com.android.builder.core.ToolsRevisionUtils
-
Maximum recommended compileSdk version.
- merge(String, List<InputStream>, Closer) - Method in interface com.android.builder.merge.StreamMergeAlgorithm
-
Merges the given streams.
- merge(List<IncrementalFileMergerInput>, IncrementalFileMergerOutput, IncrementalFileMergerState, Predicate<String>) - Static method in class com.android.builder.merge.IncrementalFileMerger
-
Performs an incremental merge operation.
- mergeDexArchives(List<DexArchiveEntry>, List<Path>, Path, List<Path>, List<String>, Path, Collection<Path>, Path, Path) - Method in interface com.android.builder.dexing.DexArchiveMerger
-
Merges the specified dex archive entries into one or more dex files under the specified directory.
- MergeOutputWriter - Interface in com.android.builder.merge
-
Writes the output of a merge.
- MergeOutputWriters - Class in com.android.builder.merge
-
Factory methods for
MergeOutputWriter. - MIN_BUILD_TOOLS_REV - Static variable in class com.android.builder.core.ToolsRevisionUtils
-
Minimal supported version of build tools.
- MockableJarGenerator - Class in com.android.builder.testing
-
Given a "standard" android.jar, creates a "mockable" version, where all classes and methods are not final.
- MockableJarGenerator(boolean) - Constructor for class com.android.builder.testing.MockableJarGenerator
- modifyDiagnosticsLevel(DiagnosticsLevel, Diagnostic) - Method in class com.android.builder.dexing.D8DiagnosticsHandler
N
- name() - Method in interface com.android.builder.dexing.ClassFileEntry
-
Returns the entry name.
- NativeLibraryAbiPredicate - Class in com.android.builder.files
-
Predicate applicable to file paths that only accepts native libraries optionally filtered by a set of ABIs.
- NativeLibraryAbiPredicate(Set<String>, boolean) - Constructor for class com.android.builder.files.NativeLibraryAbiPredicate
-
Creates a new predicate.
- needsCacheReset() - Method in class com.android.builder.sdk.SdkLibData
- NO_OP - Static variable in interface com.android.builder.compiling.DependencyFileProcessor
O
- open() - Method in class com.android.builder.merge.DelegateIncrementalFileMergerInput
- open() - Method in class com.android.builder.merge.DelegateIncrementalFileMergerOutput
- open() - Method in class com.android.builder.merge.LazyIncrementalFileMergerInput
- open() - Method in interface com.android.builder.merge.OpenableCloseable
-
Opens the object.
- OpenableCloseable - Interface in com.android.builder.merge
-
Specifies the general contract for an object that needs to be open or closed.
- openPath(String) - Method in class com.android.builder.merge.DelegateIncrementalFileMergerInput
- openPath(String) - Method in class com.android.builder.merge.FilterIncrementalFileMergerInput
- openPath(String) - Method in interface com.android.builder.merge.IncrementalFileMergerInput
-
Opens a path for reading.
- openPath(String) - Method in class com.android.builder.merge.LazyIncrementalFileMergerInput
- openPath(String) - Method in class com.android.builder.merge.RenameIncrementalFileMergerInput
P
- PackagingUtils - Class in com.android.builder.packaging
-
Utility class for packaging.
- PackagingUtils() - Constructor for class com.android.builder.packaging.PackagingUtils
- parseApk(File) - Method in class com.android.builder.core.ApkInfoParser
-
Computes and returns the info for an APK
- pickFirst() - Static method in class com.android.builder.merge.StreamMergeAlgorithms
-
Algorithm that copies the content of the first stream.
- PlatformLoader - Class in com.android.builder.sdk
-
Singleton-based implementation of SdkLoader for a platform-based SDK.
- processFile(File) - Method in interface com.android.builder.compiling.DependencyFileProcessor
-
Processes the dependency file.
R
- read(ExceptionFunction<File, V>) - Method in class com.android.builder.utils.SynchronizedFile
-
Executes an action that reads the file with a SHARED lock.
- readAllBytes() - Method in interface com.android.builder.dexing.ClassFileEntry
-
Read the content into a newly allocated byte[].
- readAllBytes(byte[]) - Method in interface com.android.builder.dexing.ClassFileEntry
-
Read the content of the file into an existing byte[]
- receiveMessage(Message) - Method in class com.android.builder.core.StandardOutErrMessageReceiver
- RelativeFile - Class in com.android.builder.files
-
Representation of a file with respect to a base directory.
- RelativeFile(File, File) - Constructor for class com.android.builder.files.RelativeFile
-
Creates a new relative file.
- RelativeFile(File, String) - Constructor for class com.android.builder.files.RelativeFile
-
Creates a new relative file.
- RelativeFile.Type - Enum Class in com.android.builder.files
- RelativeFiles - Class in com.android.builder.files
-
Utilities to handle
RelativeFile. - RELEASE - Static variable in class com.android.builder.core.BuilderConstants
- relocate(String) - Method in interface com.android.builder.packaging.JarFlinger.Relocator
- remove(File) - Method in class com.android.builder.files.KeyedFileCache
-
Removes any cached version of the given path.
- remove(String) - Method in class com.android.builder.merge.DelegateIncrementalFileMergerOutput
- remove(String) - Method in interface com.android.builder.merge.IncrementalFileMergerOutput
-
A path needs to be removed from the output.
- remove(String) - Method in interface com.android.builder.merge.MergeOutputWriter
-
Removes a path from the output.
- RenameIncrementalFileMergerInput - Class in com.android.builder.merge
-
IncrementalFileMergerInputthat renames files in another input according to a renaming function. - RenameIncrementalFileMergerInput(IncrementalFileMergerInput, Function<String, String>, Function<String, String>) - Constructor for class com.android.builder.merge.RenameIncrementalFileMergerInput
-
Creates a new input.
- replace(String, InputStream, boolean) - Method in interface com.android.builder.merge.MergeOutputWriter
-
Replaces a path's contents with new contents.
- retrieveRepoIdsWithPrefix(SdkLibData, String) - Method in class com.android.builder.sdk.DefaultSdkLoader
- retrieveRepoIdsWithPrefix(SdkLibData, String) - Method in class com.android.builder.sdk.PlatformLoader
- retrieveRepoIdsWithPrefix(SdkLibData, String) - Method in interface com.android.builder.sdk.SdkLoader
-
Retrieves the hash ids for available remote repositories that start with the given prefix.
- run() - Method in interface com.android.builder.utils.ExceptionRunnable
S
- SCREENSHOT - Static variable in class com.android.builder.core.BuilderConstants
- SdkInfo - Class in com.android.builder.sdk
-
General information about the SDK.
- SdkLibData - Class in com.android.builder.sdk
-
Handles the components needed to download missing SDK components.
- SdkLoader - Interface in com.android.builder.sdk
-
A loader for the SDK.
- select(Function<String, StreamMergeAlgorithm>) - Static method in class com.android.builder.merge.StreamMergeAlgorithms
-
Algorithm that selects another algorithm based on a function that is applied to the file's path.
- setAdditionalParameters(List<String>) - Method in class com.android.builder.core.DefaultDexOptions
-
Deprecated.
- setCompressionLevel(int) - Method in class com.android.builder.packaging.JarFlinger
- setDexInProcess(boolean) - Method in class com.android.builder.core.DefaultDexOptions
-
Deprecated.
- setGeneratedDensities(Iterable<String>) - Method in class com.android.builder.core.DefaultVectorDrawablesOptions
- setJavaMaxHeapSize(String) - Method in class com.android.builder.core.DefaultDexOptions
-
Deprecated.
- setJumboMode(boolean) - Method in class com.android.builder.core.DefaultDexOptions
-
Deprecated.
- setKeepRuntimeAnnotatedClasses(boolean) - Method in class com.android.builder.core.DefaultDexOptions
-
Deprecated.
- setMaxProcessCount(Integer) - Method in class com.android.builder.core.DefaultDexOptions
-
Deprecated.
- setNeedsCacheReset(boolean) - Method in class com.android.builder.sdk.SdkLibData
-
Sets the flag for resetting the local and remote repository cache.
- setPreDexLibraries(boolean) - Method in class com.android.builder.core.DefaultDexOptions
-
Deprecated.
- setProvided(boolean) - Method in class com.android.builder.dependency.DependencyMutableData
- setThreadCount(Integer) - Method in class com.android.builder.core.DefaultDexOptions
-
Deprecated.
- setUseSupportLibrary(Boolean) - Method in class com.android.builder.core.DefaultVectorDrawablesOptions
- SIGNING_EXTENSIONS - Static variable in class com.android.builder.packaging.PackagingUtils
-
List of file extensions that are used for jar signing.
- SigningException - Exception in com.android.builder.signing
- SigningException() - Constructor for exception com.android.builder.signing.SigningException
- SigningException(String) - Constructor for exception com.android.builder.signing.SigningException
- SigningException(String, Throwable) - Constructor for exception com.android.builder.signing.SigningException
- SigningException(Throwable) - Constructor for exception com.android.builder.signing.SigningException
- skip() - Method in class com.android.builder.dependency.DependencyMutableData
- StandardOutErrMessageReceiver - Class in com.android.builder.core
- StandardOutErrMessageReceiver() - Constructor for class com.android.builder.core.StandardOutErrMessageReceiver
- StreamMergeAlgorithm - Interface in com.android.builder.merge
-
Algorithm to merge streams.
- StreamMergeAlgorithms - Class in com.android.builder.merge
-
File merge algorithms.
- SynchronizedFile - Class in com.android.builder.utils
-
Utility to synchronize access to a file from multiple threads or processes.
T
- TargetInfo - Class in com.android.builder.sdk
-
The SDK Target information needed to build a project.
- TargetInfo(IAndroidTarget, BuildToolInfo) - Constructor for class com.android.builder.sdk.TargetInfo
- test(String) - Method in class com.android.builder.files.NativeLibraryAbiPredicate
- toDirectory(File) - Static method in class com.android.builder.merge.MergeOutputWriters
-
Creates a writer that writes files to a directory.
- ToolsRevisionUtils - Class in com.android.builder.core
- ToolsRevisionUtils() - Constructor for class com.android.builder.core.ToolsRevisionUtils
- toString() - Method in class com.android.builder.core.ApkInfoParser.ApkInfo
- toString() - Method in class com.android.builder.core.DefaultApiVersion
- toString() - Method in class com.android.builder.core.DefaultVectorDrawablesOptions
- toString() - Method in class com.android.builder.dependency.DependencyMutableData
- toString() - Method in class com.android.builder.dependency.level2.AndroidDependency
- toString() - Method in class com.android.builder.dependency.level2.JavaDependency
- toString() - Method in class com.android.builder.files.RelativeFile
- toString() - Method in class com.android.builder.utils.SynchronizedFile
- toZip(File, ZFileOptions) - Static method in class com.android.builder.merge.MergeOutputWriters
-
Creates a writer that writes files to a zip file.
- type - Variable in class com.android.builder.files.RelativeFile
U
- unload() - Static method in class com.android.builder.sdk.DefaultSdkLoader
- unload() - Static method in class com.android.builder.sdk.PlatformLoader
- update(String, List<String>, List<IncrementalFileMergerInput>, boolean) - Method in class com.android.builder.merge.DelegateIncrementalFileMergerOutput
- update(String, List<String>, List<IncrementalFileMergerInput>, boolean) - Method in interface com.android.builder.merge.IncrementalFileMergerOutput
-
A path needs to be updated.
- useSdkDownload() - Method in class com.android.builder.sdk.SdkLibData
V
- valueOf(String) - Static method in enum class com.android.builder.dependency.level2.DependencyNode.NodeType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.android.builder.files.RelativeFile.Type
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.android.builder.dependency.level2.DependencyNode.NodeType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.android.builder.files.RelativeFile.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VectorDrawableRenderer - Class in com.android.builder.png
-
Generates PNG images (and XML copies) from VectorDrawable files.
- VectorDrawableRenderer(int, boolean, File, Collection<Density>, Supplier<ILogger>) - Constructor for class com.android.builder.png.VectorDrawableRenderer
W
- warning(Diagnostic) - Method in class com.android.builder.dexing.D8DiagnosticsHandler
- withClassExtension(String) - Static method in class com.android.builder.dexing.DexArchiveEntry
-
Takes the specified .dex file, and changes its extension to .class.
- withDexExtension(String) - Static method in interface com.android.builder.dexing.ClassFileEntry
-
Takes the specified .class file, and changes its extension to .dex.
- write(ExceptionFunction<File, V>) - Method in class com.android.builder.utils.SynchronizedFile
-
Executes an action that writes to (or deletes) the file with an EXCLUSIVE lock.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
com.android.build.gradle.internal.dsl.VectorDrawablesOptions.copyOf