# com.android.build.api.dsl

# com.android.build.api.dsl

## Interfaces

|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [AaptOptions](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/AaptOptions)                                                                             | **This interface is deprecated.**Renamed to AndroidResources                                                                                                                                                                                                                                                                               |
| [AarMetadata](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/AarMetadata)                                                                             | DSL object for configuring metadata that is embedded in the AAR.                                                                                                                                                                                                                                                                           |
| [AbiSplit](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/AbiSplit)                                                                                   | DSL object for configuring per-abi splits options.                                                                                                                                                                                                                                                                                         |
| [AdbOptions](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/AdbOptions)                                                                               | **This interface is deprecated.**Renamed to Installation                                                                                                                                                                                                                                                                                   |
| [AiPackExtension](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/AiPackExtension)                                                                     | Extension properties for the Asset Pack plugin that are specific to AI packs.                                                                                                                                                                                                                                                              |
| [AndroidResources](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/AndroidResources)                                                                   | DSL object for configuring Android resource options.                                                                                                                                                                                                                                                                                       |
| [AndroidSourceDirectorySet](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/AndroidSourceDirectorySet)                                                 | An AndroidSourceDirectorySet represents a set of directory inputs for an Android project.                                                                                                                                                                                                                                                  |
| [AndroidSourceFile](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/AndroidSourceFile)                                                                 | An AndroidSourceFile represents a single file input for an Android project.                                                                                                                                                                                                                                                                |
| [AndroidSourceSet](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/AndroidSourceSet)                                                                   | An AndroidSourceSet represents a logical group of Java, aidl and RenderScript sources as well as Android and non-Android (Java-style) resources.                                                                                                                                                                                           |
| [AndroidTest](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/AndroidTest)                                                                             | DSL object on library build type for configurations of the android test component.                                                                                                                                                                                                                                                         |
| [AnnotationProcessorOptions](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/AnnotationProcessorOptions)                                               | Options for configuring Java annotation processor.                                                                                                                                                                                                                                                                                         |
| [ApkExtension](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ApkExtension)                                                                           | Common extension properties for the Android Gradle Plugin Application and Dynamic Feature plugins.                                                                                                                                                                                                                                         |
| [ApkSigningConfig](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ApkSigningConfig)                                                                   | DSL object to configure signing configs.                                                                                                                                                                                                                                                                                                   |
| [ApplicationAndroidResources](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ApplicationAndroidResources)                                             | DSL object for configuring Android resource options for Application plugins.                                                                                                                                                                                                                                                               |
| [ApplicationBaseFlavor](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ApplicationBaseFlavor)                                                         | Shared properties between[ApplicationProductFlavor](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ApplicationProductFlavor)and[ApplicationDefaultConfig](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ApplicationDefaultConfig)                         |
| [ApplicationBuildFeatures](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ApplicationBuildFeatures)                                                   | A list of build features that can be disabled or enabled in an Android Application project.                                                                                                                                                                                                                                                |
| [ApplicationBuildType](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ApplicationBuildType)                                                           | Build types define certain properties that Gradle uses when building and packaging your app, and are typically configured for different stages of your development lifecycle.                                                                                                                                                              |
| [ApplicationDefaultConfig](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ApplicationDefaultConfig)                                                   | Specifies defaults for properties that the Android application plugin applies to all build variants.                                                                                                                                                                                                                                       |
| [ApplicationExtension](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ApplicationExtension)                                                           | Extension for the Android Gradle Plugin Application plugin.                                                                                                                                                                                                                                                                                |
| [ApplicationInstallation](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ApplicationInstallation)                                                     |                                                                                                                                                                                                                                                                                                                                            |
| [ApplicationProductFlavor](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ApplicationProductFlavor)                                                   | Encapsulates all product flavors properties for application projects.                                                                                                                                                                                                                                                                      |
| [ApplicationPublishing](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ApplicationPublishing)                                                         | Maven publishing DSL object for configuring options related to publishing APK and AAB.                                                                                                                                                                                                                                                     |
| [ApplicationSingleVariant](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ApplicationSingleVariant)                                                   | Single variant publishing options for application projects.                                                                                                                                                                                                                                                                                |
| [ApplicationVariantDimension](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ApplicationVariantDimension)                                             | Shared properties between DSL objects that contribute to an application variant.                                                                                                                                                                                                                                                           |
| [AssetPackBundleExtension](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/AssetPackBundleExtension)                                                   |                                                                                                                                                                                                                                                                                                                                            |
| [AssetPackExtension](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/AssetPackExtension)                                                               | Extension properties for the Asset Pack plugin.                                                                                                                                                                                                                                                                                            |
| [BaseFlavor](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/BaseFlavor)                                                                               | Shared properties between DSL objects[ProductFlavor](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ProductFlavor)and[DefaultConfig](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/DefaultConfig)                                                         |
| [BaselineProfile](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/BaselineProfile)                                                                     | DSL object in[Optimization](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/Optimization)for configuring properties related to Baseline Profiles.                                                                                                                                                   |
| [BuildFeatures](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/BuildFeatures)                                                                         | A list of build features that can be disabled or enabled in an Android project.                                                                                                                                                                                                                                                            |
| [BuildType](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/BuildType)                                                                                 | Build types define certain properties that Gradle uses when building and packaging your app, and are typically configured for different stages of your development lifecycle.                                                                                                                                                              |
| [Bundle](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/Bundle)                                                                                       | DSL object for configuring the Android Application Bundle                                                                                                                                                                                                                                                                                  |
| [BundleAbi](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/BundleAbi)                                                                                 | DSL object for configuring the App Bundle ABI options                                                                                                                                                                                                                                                                                      |
| [BundleAiModelVersion](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/BundleAiModelVersion)                                                           | DSL object for configuring the App Bundle AI model version targeting                                                                                                                                                                                                                                                                       |
| [BundleCodeTransparency](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/BundleCodeTransparency)                                                       | DSL object for configuring the App Bundle Code Transparency options                                                                                                                                                                                                                                                                        |
| [BundleCountrySet](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/BundleCountrySet)                                                                   | DSL object for configuring the App Bundle Country Set options                                                                                                                                                                                                                                                                              |
| [BundleDensity](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/BundleDensity)                                                                         | DSL object for configuring the App Bundle Density options                                                                                                                                                                                                                                                                                  |
| [BundleDeviceTier](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/BundleDeviceTier)                                                                   | DSL object for configuring the App Bundle Device Tier options                                                                                                                                                                                                                                                                              |
| [BundleLanguage](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/BundleLanguage)                                                                       | DSL object for configuring the App Bundle Language options                                                                                                                                                                                                                                                                                 |
| [BundleStoreArchive](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/BundleStoreArchive)                                                               | DSL object for configuring the App Bundle Store Archive options                                                                                                                                                                                                                                                                            |
| [BundleTexture](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/BundleTexture)                                                                         | DSL object for configuring the App Bundle Texture options                                                                                                                                                                                                                                                                                  |
| [Cmake](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/Cmake)                                                                                         | DSL object for per-module CMake configurations, such as the path to your`CMakeLists.txt`build script and external native build output directory.                                                                                                                                                                                           |
| [CmakeFlags](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/CmakeFlags)                                                                               | DSL object for per-variant CMake options, such as CMake arguments and compiler flags.                                                                                                                                                                                                                                                      |
| [CommonExtension](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/CommonExtension)                                                                     | Common extension properties for the Android Application.                                                                                                                                                                                                                                                                                   |
| [CompileOptions](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/CompileOptions)                                                                       | Java compilation options.                                                                                                                                                                                                                                                                                                                  |
| [ComposeOptions](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ComposeOptions)                                                                       | Optional settings for the Compose feature.                                                                                                                                                                                                                                                                                                 |
| [ConfigurableFiles](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ConfigurableFiles)                                                                 | A container for a collection of files that has the capability to add a single existing file or a group of existing files to the collection                                                                                                                                                                                                 |
| [ConsumerKeepRules](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ConsumerKeepRules)                                                                 |                                                                                                                                                                                                                                                                                                                                            |
| [DataBinding](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/DataBinding)                                                                             | DSL object for configuring databinding options.                                                                                                                                                                                                                                                                                            |
| [DefaultConfig](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/DefaultConfig)                                                                         | Specifies defaults for variant properties that the Android plugin applies to all build variants.                                                                                                                                                                                                                                           |
| [DensitySplit](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/DensitySplit)                                                                           | **This interface is deprecated.**Density-based apk split feature is deprecated and will be removed in AGP 10.0.Use Android App Bundle (https://developer.android.com/guide/app-bundle)to generate optimized APKs.                                                                                                                          |
| [DependenciesInfo](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/DependenciesInfo)                                                                   | DSL object to specify whether to include SDK dependency information in APKs and Bundles.                                                                                                                                                                                                                                                   |
| [DependencyVariantSelection](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/DependencyVariantSelection)                                               | Specifies options for doing variant selection for external Android dependencies based on build types and product flavours                                                                                                                                                                                                                  |
| [Device](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/Device)                                                                                       | Top-level interface for all devices to run applications by tasks in the Android Gradle Plugin.                                                                                                                                                                                                                                             |
| [DeviceGroup](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/DeviceGroup)                                                                             | A group of devices to be run with tests using the Unified Test Platform.                                                                                                                                                                                                                                                                   |
| [DexPackaging](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/DexPackaging)                                                                           | Packaging options for Dex (Android Dalvik Executable) files in the Android DSL                                                                                                                                                                                                                                                             |
| [DynamicDelivery](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/DynamicDelivery)                                                                     | DSL object to configure dynamic delivery of an asset pack.                                                                                                                                                                                                                                                                                 |
| [DynamicFeatureAndroidResources](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/DynamicFeatureAndroidResources)                                       | DSL object for configuring Android resource options for Dynamic Feature plugins.                                                                                                                                                                                                                                                           |
| [DynamicFeatureBaseFlavor](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/DynamicFeatureBaseFlavor)                                                   | Shared properties between DSL objects[DynamicFeatureProductFlavor](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/DynamicFeatureProductFlavor)and[DynamicFeatureDefaultConfig](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/DynamicFeatureDefaultConfig) |
| [DynamicFeatureBuildFeatures](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/DynamicFeatureBuildFeatures)                                             | A list of build features that can be disabled or enabled in an Android Dynamic Feature project.                                                                                                                                                                                                                                            |
| [DynamicFeatureBuildType](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/DynamicFeatureBuildType)                                                     | Build types define certain properties that Gradle uses when building and packaging your app, and are typically configured for different stages of your development lifecycle.                                                                                                                                                              |
| [DynamicFeatureDefaultConfig](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/DynamicFeatureDefaultConfig)                                             | Specifies defaults for properties that the Android dynamic-feature plugin applies to all build variants.                                                                                                                                                                                                                                   |
| [DynamicFeatureExtension](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/DynamicFeatureExtension)                                                     | Extension for the Android Dynamic Feature Gradle Plugin.                                                                                                                                                                                                                                                                                   |
| [DynamicFeatureInstallation](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/DynamicFeatureInstallation)                                               | DSL object for configuring installation options for Dynamic Feature plugins.                                                                                                                                                                                                                                                               |
| [DynamicFeatureProductFlavor](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/DynamicFeatureProductFlavor)                                             | Encapsulates all product flavors properties for dynamic feature projects.                                                                                                                                                                                                                                                                  |
| [DynamicFeatureVariantDimension](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/DynamicFeatureVariantDimension)                                       | Shared properties between DSL objects that contribute to an dynamic feature variant.                                                                                                                                                                                                                                                       |
| [EmulatorControl](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/EmulatorControl)                                                                     | Options for configuring Android Emulator Access                                                                                                                                                                                                                                                                                            |
| [EmulatorSnapshots](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/EmulatorSnapshots)                                                                 | Options for configuring Android Test Retention.                                                                                                                                                                                                                                                                                            |
| [Execution](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/Execution)                                                                                 |                                                                                                                                                                                                                                                                                                                                            |
| [ExecutionProfile](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ExecutionProfile)                                                                   |                                                                                                                                                                                                                                                                                                                                            |
| [ExternalNativeBuild](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ExternalNativeBuild)                                                             | DSL object to configure external native builds using[CMake](https://cmake.org/)or[ndk-build](https://developer.android.com/ndk/guides/build.html)                                                                                                                                                                                          |
| [ExternalNativeBuildFlags](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ExternalNativeBuildFlags)                                                   | DSL object for per-variant CMake and ndk-build configurations, such as toolchain arguments and compiler flags.                                                                                                                                                                                                                             |
| [FailureRetention](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/FailureRetention)                                                                   | **This interface is deprecated.**Renamed to EmulatorSnapshots                                                                                                                                                                                                                                                                              |
| [HasConfigurableValue](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/HasConfigurableValue)                                                           |                                                                                                                                                                                                                                                                                                                                            |
| [HasInitWith](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/HasInitWith)                                                                             | For build types and product flavors, they can be initialized from the current state of another.                                                                                                                                                                                                                                            |
| [Installation](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/Installation)                                                                           | Local installation options for the adb tool.                                                                                                                                                                                                                                                                                               |
| [JacocoOptions](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/JacocoOptions)                                                                         | **This interface is deprecated.**Renamed to TestCoverage                                                                                                                                                                                                                                                                                   |
| [JavaCompileOptions](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/JavaCompileOptions)                                                               | DSL object for javaCompileOptions.                                                                                                                                                                                                                                                                                                         |
| [JniLibsPackaging](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/JniLibsPackaging)                                                                   | Packaging options for native library (.so) files in the Android DSL                                                                                                                                                                                                                                                                        |
| [KeepRules](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/KeepRules)                                                                                 | DSL object for external library dependencies keep rules configurations.                                                                                                                                                                                                                                                                    |
| [KmpOptimization](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/KmpOptimization)                                                                     | DSL object for configurations aimed for optimizing build process(e.g. speed, correctness)                                                                                                                                                                                                                                                  |
| [KotlinMultiplatformAndroidCompilation](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/KotlinMultiplatformAndroidCompilation)                         |                                                                                                                                                                                                                                                                                                                                            |
| [KotlinMultiplatformAndroidCompilationBuilder](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/KotlinMultiplatformAndroidCompilationBuilder)           | Options to build a[KotlinMultiplatformAndroidCompilation](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/KotlinMultiplatformAndroidCompilation)object.                                                                                                                                             |
| [KotlinMultiplatformAndroidDeviceTest](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/KotlinMultiplatformAndroidDeviceTest)                           |                                                                                                                                                                                                                                                                                                                                            |
| [KotlinMultiplatformAndroidDeviceTestCompilation](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/KotlinMultiplatformAndroidDeviceTestCompilation)     |                                                                                                                                                                                                                                                                                                                                            |
| [KotlinMultiplatformAndroidHostTest](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/KotlinMultiplatformAndroidHostTest)                               |                                                                                                                                                                                                                                                                                                                                            |
| [KotlinMultiplatformAndroidHostTestCompilation](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/KotlinMultiplatformAndroidHostTestCompilation)         |                                                                                                                                                                                                                                                                                                                                            |
| [KotlinMultiplatformAndroidLibraryExtension](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/KotlinMultiplatformAndroidLibraryExtension)               | Extension properties for Kotlin multiplatform Android libraries.                                                                                                                                                                                                                                                                           |
| [KotlinMultiplatformAndroidLibraryTarget](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/KotlinMultiplatformAndroidLibraryTarget)                     |                                                                                                                                                                                                                                                                                                                                            |
| [KotlinMultiplatformAndroidTarget](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/KotlinMultiplatformAndroidTarget)                                   | **This interface is deprecated.**Use KotlinMultiplatformAndroidLibraryTarget.                                                                                                                                                                                                                                                              |
| [KotlinMultiplatformAndroidTestOnDeviceCompilation](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/KotlinMultiplatformAndroidTestOnDeviceCompilation) | **This interface is deprecated.**Use KotlinMultiplatformAndroidDeviceTestCompilation.                                                                                                                                                                                                                                                      |
| [KotlinMultiplatformAndroidTestOnJvmCompilation](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/KotlinMultiplatformAndroidTestOnJvmCompilation)       | **This interface is deprecated.**Use KotlinMultiplatformAndroidHostTestCompilation.                                                                                                                                                                                                                                                        |
| [LibraryAndroidResources](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/LibraryAndroidResources)                                                     | DSL object for configuring Android resource options for Library plugins.                                                                                                                                                                                                                                                                   |
| [LibraryBaseFlavor](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/LibraryBaseFlavor)                                                                 | Shared properties between[LibraryProductFlavor](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/LibraryProductFlavor)and[LibraryDefaultConfig](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/LibraryDefaultConfig)                                         |
| [LibraryBuildFeatures](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/LibraryBuildFeatures)                                                           | A list of build features that can be disabled or enabled in an Android Library project.                                                                                                                                                                                                                                                    |
| [LibraryBuildType](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/LibraryBuildType)                                                                   | Build types define certain properties that Gradle uses when building and packaging your library, and are typically configured for different stages of your development lifecycle.                                                                                                                                                          |
| [LibraryDefaultConfig](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/LibraryDefaultConfig)                                                           | Specifies defaults for properties that the Android library plugin applies to all build variants.                                                                                                                                                                                                                                           |
| [LibraryExtension](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/LibraryExtension)                                                                   | Extension for the Android Library Gradle Plugin.                                                                                                                                                                                                                                                                                           |
| [LibraryInstallation](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/LibraryInstallation)                                                             | DSL object for configuring installation options for Library plugins.                                                                                                                                                                                                                                                                       |
| [LibraryKeepRules](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/LibraryKeepRules)                                                                   |                                                                                                                                                                                                                                                                                                                                            |
| [LibraryProductFlavor](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/LibraryProductFlavor)                                                           | Encapsulates all product flavors properties for library projects.                                                                                                                                                                                                                                                                          |
| [LibraryPublishing](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/LibraryPublishing)                                                                 | Maven publishing DSL object for configuring options related to publishing AAR.                                                                                                                                                                                                                                                             |
| [LibrarySingleVariant](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/LibrarySingleVariant)                                                           | Single variant publishing options for library projects.                                                                                                                                                                                                                                                                                    |
| [LibraryVariantDimension](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/LibraryVariantDimension)                                                     | Shared properties between DSL objects that contribute to a library variant.                                                                                                                                                                                                                                                                |
| [Lint](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/Lint)                                                                                           | DSL object for configuring lint options.                                                                                                                                                                                                                                                                                                   |
| [LintOptions](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/LintOptions)                                                                             | **This interface is deprecated.**Renamed to Lint                                                                                                                                                                                                                                                                                           |
| [ManagedDevices](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ManagedDevices)                                                                       | Options for Managed Devices                                                                                                                                                                                                                                                                                                                |
| [ManagedVirtualDevice](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ManagedVirtualDevice)                                                           | Device type for emulators to be managed by the Android Gradle Plugin.                                                                                                                                                                                                                                                                      |
| [ModelDependency](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ModelDependency)                                                                     | DSL object to configure a model dependency for an AI pack.                                                                                                                                                                                                                                                                                 |
| [MultiDexConfig](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/MultiDexConfig)                                                                       |                                                                                                                                                                                                                                                                                                                                            |
| [MultipleVariants](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/MultipleVariants)                                                                   | Multi variant publishing options.                                                                                                                                                                                                                                                                                                          |
| [Ndk](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/Ndk)                                                                                             | DSL object for per-variant NDK settings, such as the ABI filter.                                                                                                                                                                                                                                                                           |
| [NdkBuild](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/NdkBuild)                                                                                   | DSL object for per-module ndk-build configurations, such as the path to your`Android.mk`build script and external native build output directory.                                                                                                                                                                                           |
| [NdkBuildFlags](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/NdkBuildFlags)                                                                         | DSL object for per-variant ndk-build options, such as ndk-build arguments and compiler flags.                                                                                                                                                                                                                                              |
| [Optimization](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/Optimization)                                                                           | DSL object for configurations aimed for optimizing build process(e.g. speed, correctness).                                                                                                                                                                                                                                                 |
| [Packaging](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/Packaging)                                                                                 | Packaging option entry point for the Android DSL.                                                                                                                                                                                                                                                                                          |
| [PostProcessing](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/PostProcessing)                                                                       | DSL object for configuring postProcessing: removing dead code, obfuscating etc.                                                                                                                                                                                                                                                            |
| [Prefab](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/Prefab)                                                                                       | Options for including[Prefab](https://google.github.io/prefab/)packages in AARs.                                                                                                                                                                                                                                                           |
| [PrivacySandbox](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/PrivacySandbox)                                                                       | Privacy Sandbox library consumption options                                                                                                                                                                                                                                                                                                |
| [PrivacySandboxKeepRules](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/PrivacySandboxKeepRules)                                                     |                                                                                                                                                                                                                                                                                                                                            |
| [PrivacySandboxSdkBundle](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/PrivacySandboxSdkBundle)                                                     |                                                                                                                                                                                                                                                                                                                                            |
| [PrivacySandboxSdkExtension](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/PrivacySandboxSdkExtension)                                               |                                                                                                                                                                                                                                                                                                                                            |
| [PrivacySandboxSdkOptimization](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/PrivacySandboxSdkOptimization)                                         | DSL object for configurations aimed for optimizing build process(e.g. speed, correctness)                                                                                                                                                                                                                                                  |
| [ProductFlavor](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ProductFlavor)                                                                         | Encapsulates all product flavors properties for this project.                                                                                                                                                                                                                                                                              |
| [Publishing](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/Publishing)                                                                               | Maven publishing DSL object for configuring options related to publishing Android variants to a Maven repository.                                                                                                                                                                                                                          |
| [PublishingOptions](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/PublishingOptions)                                                                 | Maven publishing options shared by[SingleVariant](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/SingleVariant)and[MultipleVariants](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/MultipleVariants).                                                     |
| [ResourcesPackaging](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ResourcesPackaging)                                                               | Packaging options for java resource files in the Android DSL                                                                                                                                                                                                                                                                               |
| [SdkComponents](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/SdkComponents)                                                                         |                                                                                                                                                                                                                                                                                                                                            |
| [SettingsExtension](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/SettingsExtension)                                                                 | Interface used for the`android`DSL in the`settings.gradle[.kts]`file, after the`com.android.settings`plugin is applied.                                                                                                                                                                                                                    |
| [Shaders](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/Shaders)                                                                                     | Options for configuring scoped shader options.                                                                                                                                                                                                                                                                                             |
| [SigningConfig](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/SigningConfig)                                                                         | DSL object for configuring options related to signing for APKs and bundles.                                                                                                                                                                                                                                                                |
| [SingleVariant](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/SingleVariant)                                                                         | Single variant publishing options.                                                                                                                                                                                                                                                                                                         |
| [Split](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/Split)                                                                                         | Base data representing how an APK should be split for a given dimension (density, abi).                                                                                                                                                                                                                                                    |
| [Splits](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/Splits)                                                                                       | Options to configure Multiple APKs.                                                                                                                                                                                                                                                                                                        |
| [TestAndroidResources](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/TestAndroidResources)                                                           | DSL object for configuring Android resource options for Test plugins.                                                                                                                                                                                                                                                                      |
| [TestBaseFlavor](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/TestBaseFlavor)                                                                       | Shared properties between[TestProductFlavor](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/TestProductFlavor)and[TestDefaultConfig](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/TestDefaultConfig)                                                     |
| [TestBuildFeatures](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/TestBuildFeatures)                                                                 | A list of build features that can be disabled or enabled in an Android Test project.                                                                                                                                                                                                                                                       |
| [TestBuildType](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/TestBuildType)                                                                         | Build types define certain properties that Gradle uses when building and packaging your library, and are typically configured for different stages of your development lifecycle.                                                                                                                                                          |
| [TestCoverage](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/TestCoverage)                                                                           | Settings related to the gathering of code-coverage data from tests                                                                                                                                                                                                                                                                         |
| [TestDefaultConfig](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/TestDefaultConfig)                                                                 | Specifies defaults for properties that the Android test plugin applies to all build variants.                                                                                                                                                                                                                                              |
| [TestExtension](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/TestExtension)                                                                         | Extension for the Android Test Gradle Plugin.                                                                                                                                                                                                                                                                                              |
| [TestFixtures](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/TestFixtures)                                                                           | DSL object for configuring test fixtures.                                                                                                                                                                                                                                                                                                  |
| [TestInstallation](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/TestInstallation)                                                                   | DSL object for configuring installation options for Test plugins.                                                                                                                                                                                                                                                                          |
| [TestOptions](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/TestOptions)                                                                             | Options for running tests.                                                                                                                                                                                                                                                                                                                 |
| [TestProductFlavor](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/TestProductFlavor)                                                                 | Encapsulates all product flavors properties for test projects.                                                                                                                                                                                                                                                                             |
| [TestVariantDimension](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/TestVariantDimension)                                                           | Shared properties between DSL objects that contribute to a separate-test-project variant.                                                                                                                                                                                                                                                  |
| [TestedExtension](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/TestedExtension)                                                                     | Common extension properties for the Android Application.                                                                                                                                                                                                                                                                                   |
| [ToolOptions](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ToolOptions)                                                                             |                                                                                                                                                                                                                                                                                                                                            |
| [UnitTestOptions](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/UnitTestOptions)                                                                     | Options for controlling unit tests execution.                                                                                                                                                                                                                                                                                              |
| [VariantDimension](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/VariantDimension)                                                                   | Shared properties between DSL objects that contribute to a variant.                                                                                                                                                                                                                                                                        |
| [VcsInfo](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/VcsInfo)                                                                                     | DSL object for configuring Version Control information                                                                                                                                                                                                                                                                                     |
| [VectorDrawables](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/VectorDrawables)                                                                     | DSL object used to configure`vector`drawable options.                                                                                                                                                                                                                                                                                      |
| [ViewBinding](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ViewBinding)                                                                             | DSL object for configuring viewbinding options.                                                                                                                                                                                                                                                                                            |

## Enums

|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|
| [ManagedVirtualDevice.PageAlignment](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/ManagedVirtualDevice.PageAlignment) | Defines possible system image selection strategies based on the requested Page Alignment |

## Extension functions summary

|------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html) [<Error class: unknown class>](https://developer.android.com/reference/tools/gradle-api/8.9/[JVM root]/<Error class: unknown class>)`.`[androidLibrary](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/package-summary#([Error type: Unresolved type for KotlinMultiplatformExtension]).androidLibrary(kotlin.Function1))`(action: `[KotlinMultiplatformAndroidLibraryTarget](https://developer.android.com/reference/tools/gradle-api/8.9/com/android/build/api/dsl/KotlinMultiplatformAndroidLibraryTarget)`.() `->` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` |

## Extension functions

### androidLibrary

```
@Incubating
fun <Error class: unknown class>.androidLibrary(action: KotlinMultiplatformAndroidLibraryTarget.() -> Unit): Unit
```