User configuration settings for all android plugins.
Type | Name and description |
---|---|
AaptOptions |
getAaptOptions() Options for aapt, tool for packaging resources. |
AdbOptions |
getAdbOptions() Adb options |
com.android.sdklib.repository.FullRevision |
getBuildToolsRevision() Build tool revisions |
String |
getBuildToolsVersion() Build tool version |
Collection<? extends CoreBuildType> |
getBuildTypes() Build types used by this project. |
CompileOptions |
getCompileOptions() Compile options |
String |
getCompileSdkVersion() Compile SDK version |
CoreProductFlavor |
getDefaultConfig() Default config, shared by all flavors. |
String |
getDefaultPublishConfig() Name of the variant to publish |
List<com.android.builder.testing.api.DeviceProvider> |
getDeviceProviders() List of device providers |
DexOptions |
getDexOptions() Dex options. |
boolean |
getEnforceUniquePackageName() |
List<String> |
getFlavorDimensionList() List of flavor dimensions |
boolean |
getGeneratePureSplits() Whether to generate pure splits or multi apk |
JacocoExtension |
getJacoco() JaCoCo options. |
Collection<LibraryRequest> |
getLibraryRequests() |
LintOptions |
getLintOptions() Lint options. |
Boolean |
getPackageBuildConfig() Whether to package build config class file |
PackagingOptions |
getPackagingOptions() Packaging options. |
PreprocessingOptions |
getPreprocessingOptions() Preprocessing Options |
Collection<? extends CoreProductFlavor> |
getProductFlavors() All product flavors used by this project. |
boolean |
getPublishNonDefault() Whether to also publish non-default variants |
String |
getResourcePrefix() A prefix to be used when creating new resources. |
Collection<? extends com.android.builder.model.SigningConfig> |
getSigningConfigs() Signing configs used by this project. |
org.gradle.api.NamedDomainObjectContainer<AndroidSourceSet> |
getSourceSets() Source sets for all variants |
Splits |
getSplits() APK splits |
TestOptions |
getTestOptions() Options for running tests. |
List<com.android.builder.testing.api.TestServer> |
getTestServers() List of remote CI servers |
Closure<Void> |
getVariantFilter() Filter to determine which variants to build |
Options for aapt, tool for packaging resources.
Adb options
Build tool revisions
Build tool version
Build types used by this project.
Compile options
Compile SDK version
Default config, shared by all flavors.
Name of the variant to publish
List of device providers
Dex options.
Whether to generate pure splits or multi apk
JaCoCo options.
Lint options.
Whether to package build config class file
Packaging options.
Preprocessing Options
All product flavors used by this project.
Whether to also publish non-default variants
A prefix to be used when creating new resources. Used by Studio
Signing configs used by this project.
Source sets for all variants
APK splits
Options for running tests.
List of remote CI servers