ApplicationBaseFlavor

@Incubating interface ApplicationBaseFlavor<SigningConfigT : SigningConfig> : BaseFlavor, ApplicationVariantDimension<SigningConfigT>
com.android.build.api.dsl.ApplicationBaseFlavor

Summary

Inherited functions

Properties

abstract String?

The application ID.

abstract Int?

The maxSdkVersion, or null if not specified.

abstract Int?

The target SDK version.

abstract String?

The target SDK version.

abstract Int?

Version code.

abstract String?

Version name.

Inherited properties

Properties

applicationId

abstract var applicationId: String?

The application ID.

See Set the Application ID

maxSdk

abstract var maxSdk: Int?

The maxSdkVersion, or null if not specified. This is only the value set on this produce flavor.

See uses-sdk element documentation.

targetSdk

abstract var targetSdk: Int?

The target SDK version. Setting this it will override previous calls of targetSdk and targetSdkPreview setters. Only one of targetSdk and targetSdkPreview should be set.

See uses-sdk element documentation.

targetSdkPreview

abstract var targetSdkPreview: String?

The target SDK version. Setting this it will override previous calls of targetSdk and targetSdkPreview setters. Only one of targetSdk and targetSdkPreview should be set.

See uses-sdk element documentation.

versionCode

abstract var versionCode: Int?

Version code.

See Versioning Your Application

versionName

abstract var versionName: String?

Version name.

See Versioning Your Application