Stay organized with collections
Save and categorize content based on your preferences.
ApplicationVariant
interface ApplicationVariant : GeneratesApk, Variant, HasAndroidTest, HasUnitTest, HasTestFixtures, CanMinifyCode, CanMinifyAndroidResources
Properties for the main Variant of an application.
Summary
Public properties |
Property<String> |
Variant's application ID as present in the final manifest file of the APK.
|
BundleConfig |
Variant's information related to the bundle creation configuration.
|
DependenciesInfo |
Specify whether to include SDK dependency information in APKs and Bundles.
|
List<VariantOutput> |
Returns the final list of variant outputs.
|
SigningConfig |
Variant's signingConfig, initialized by the corresponding DSL element.
|
Public properties
signingConfig
val signingConfig: SigningConfig
Variant's signingConfig, initialized by the corresponding DSL element.
Returns |
SigningConfig |
Variant's config or null if the variant is not configured for signing.
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-04-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-04-20 UTC."],[],[]]