com.android.build.api.variant
Interfaces
AarMetadata |
Variant object for configuring AAR metadata. |
AndroidComponentsExtension |
Generic extension for Android Gradle Plugin related components. |
AndroidResources |
Defines a variant's aapt options. |
AndroidTest |
Properties for the android test Variant of a module. |
AndroidVersion |
|
AnnotationProcessor |
|
ApkPackaging |
Defines an APK variant's packaging options. |
ApplicationAndroidComponentsExtension |
Extension for the Android Application Gradle Plugin components. |
ApplicationVariant |
Properties for the main Variant of an application. |
ApplicationVariantBuilder |
Application specific variant object that contains properties that will determine the variant's build flow. |
BuiltArtifact |
Represents a built artifact that is present in the file system. |
BuiltArtifacts |
Represents a |
BuiltArtifacts.TransformParams |
Specialized version of Gradle's |
BuiltArtifactsLoader |
Facility to load |
BundleConfig |
Information related to the actions creating a bundle (.aab) file for the variant. |
CodeTransparency |
|
Component |
|
ComponentBuilder |
Component object that contains properties that must be set during configuration time as it changes the build flow for the variant. |
ComponentIdentity |
Variant Configuration represents the identify of a variant |
DependenciesInfo |
Read-only object to access dependencies information properties during com.android.build.api.variant.AndroidComponentsExtension#onVariants |
DependenciesInfoBuilder |
|
DexPackagingOptions |
Defines an APK variant's packaging options for dex files. |
DslLifecycle |
|
DynamicFeatureAndroidComponentsExtension |
Extension for the Android Dynamic Feature Gradle Plugin components. |
DynamicFeatureVariant |
|
DynamicFeatureVariantBuilder |
|
ExternalNativeBuild |
Parameters to use when building native components. |
ExternalNdkBuild |
Interface for ndk-build per-variant info. |
FilterConfiguration |
Immutable filter configuration. |
GeneratesAar |
|
GeneratesApk |
Cross cutting interface for |
GeneratesTestApk |
|
HasAndroidResources |
|
HasAndroidTest |
Variants that optionally have instrumented tests. |
HasAndroidTestBuilder |
Interface that mark the potential existence of android tests associated with a variant. |
HasTestFixtures |
Variants that optionally have test fixtures. |
HasTestFixturesBuilder |
Interface that mark the potential existence of test fixtures associated with a variant. |
Instrumentation |
Options to register asm class visitors and to configure the instrumentation process. |
JavaCompilation |
|
JniLibsApkPackaging |
Defines an APK variant's packaging options for native library (.so) files. |
JniLibsPackaging |
Defines a variant's packaging options for native library (.so) files. |
LibraryAndroidComponentsExtension |
Extension for the Android Library Gradle Plugin components. |
LibraryVariant |
|
LibraryVariantBuilder |
|
LintLifecycleExtension |
|
Packaging |
Defines a variant's packaging options. |
Renderscript |
|
ResValue.Key |
a generated resource is identified by its type+name as you can create |
ResourcesPackaging |
|
SigningConfig |
Defines a variant's signing config. |
SourceDirectories |
Defines all common behaviors to sources access in AGP. |
SourceDirectories.Flat |
Represents all the source folders for a source type in the variant. |
SourceDirectories.Layered |
Represent a collection of directories that have overlay properties to each other. |
Sources |
Provides access to all source directories for a |
TestAndroidComponentsExtension |
Extension for the Android Test Gradle Plugin components. |
TestComponent |
|
TestFixtures |
|
TestVariant |
|
TestVariantBuilder |
|
UnitTest |
|
Variant |
Parent interface for all types of variants. |
VariantBuilder |
Variant object that contains properties that must be set during configuration time as it changes the build flow for the variant. |
VariantExtension |
Marker type for |
VariantExtensionConfig |
Configuration object passed to the lambda responsible for creating a |
VariantFilter |
This interface is deprecated. Use AndroidComponentsExtension.beforeVariants API to disable specific variants |
VariantInfo |
This interface is deprecated. |
VariantOutput |
Defines a variant output. |
VariantOutputConfiguration |
|
VariantSelector |
Selector to reduce the number of variants that are of interests when calling any of the variant API like |
Classes
BuildConfigField |
Field definition for the generated BuildConfig class. |
DslExtension |
Third party DSL extension configuration. |
DslExtension.Builder |
Creates a |
ResValue |
Resource to be generated by the build system. |
Enums
FilterConfiguration.FilterType |
Split dimension type |
VariantOutputConfiguration.OutputType |
Type of package file, either the main APK or a full split APK file containing resources for a particular split dimension. |