ApplicationVariant
interface ApplicationVariant : GeneratesApk, Variant
| com.android.build.api.variant.ApplicationVariant | 
Properties for the main Variant of an application.
Summary
| Inherited functions | |
|---|---|
| Properties | |
|---|---|
| abstract AndroidTest? | Variant's AndroidTest configuration, or null if android tests are disabled for this variant. | 
| abstract Property<String> | Variant's application ID as present in the final manifest file of the APK. | 
| abstract DependenciesInfo | Specify whether to include SDK dependency information in APKs and Bundles. | 
| abstract List<VariantOutput> | Returns the final list of variant outputs. | 
| abstract SigningConfig? | Variant's signingConfig, initialized by the corresponding DSL element. | 
| Inherited properties | |
|---|---|
Properties
androidTest
abstract val androidTest: AndroidTest?
Variant's AndroidTest configuration, or null if android tests are disabled for this variant.
applicationId
abstract val applicationId: Property<String>
Variant's application ID as present in the final manifest file of the APK.
dependenciesInfo
abstract val dependenciesInfo: DependenciesInfo
Specify whether to include SDK dependency information in APKs and Bundles.
outputs
abstract val outputs: List<VariantOutput>
Returns the final list of variant outputs.
| Return | |
|---|---|
| read only list of VariantOutput for this variant. | 
signingConfig
abstract val signingConfig: SigningConfig?
Variant's signingConfig, initialized by the corresponding DSL element.
| Return | |
|---|---|
| Variant's config or null if the variant is not configured for signing. | 
