GeneratesApkBuilder
interface GeneratesApkBuilder
ApplicationVariantBuilder |
Application specific variant object that contains properties that will determine the variant's build flow. |
DynamicFeatureVariantBuilder |
|
TestVariantBuilder |
|
Cross-cutting interface for components builders that produce APK files.
Summary
Public properties |
|
---|---|
Int? |
Gets or sets the target SDK Version for this variant as an integer API level. |
String? |
Gets or sets the target SDK Version for this variant as an integer API level. |
Public properties
targetSdk
var targetSdk: Int?
Gets or sets the target SDK Version for this variant as an integer API level. Setting this will override previous calls of targetSdk
and targetSdkPreview
setters. Only one of targetSdk
and targetSdkPreview
should be set.
The value may be null if set via targetSdkPreview
.
targetSdkPreview
var targetSdkPreview: String?
Gets or sets the target SDK Version for this variant as an integer API level. Setting this will override previous calls of targetSdk
and targetSdkPreview
setters. Only one of targetSdk
and targetSdkPreview
should be set.
The value may be null if set via targetSdk
.