Stay organized with collections Save and categorize content based on your preferences.

TestBaseFlavor

interface TestBaseFlavor : BaseFlavor, TestVariantDimension
com.android.build.api.dsl.TestBaseFlavor

Summary

Public methods

abstract Unit
maxSdkVersion(maxSdkVersion: Int)

abstract Unit
setTargetSdkVersion(targetSdkVersion: String?)

abstract Unit
targetSdkVersion(targetSdkVersion: Int)

abstract Unit
targetSdkVersion(targetSdkVersion: String?)

Inherited functions

Properties

abstract Int?

The maxSdkVersion, or null if not specified.

abstract Int?

The target SDK version.

abstract String?

The target SDK version.

Inherited properties

Public methods

maxSdkVersion

@Incubating abstract fun maxSdkVersion(maxSdkVersion: Int): Unit

Deprecated.

setTargetSdkVersion

@Incubating abstract fun setTargetSdkVersion(targetSdkVersion: String?): Unit

Deprecated.

targetSdkVersion

@Incubating abstract fun targetSdkVersion(targetSdkVersion: Int): Unit

Deprecated.

targetSdkVersion

@Incubating abstract fun targetSdkVersion(targetSdkVersion: String?): Unit

Deprecated.

Properties

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.