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

Variant

@Incubating interface Variant<PropertiesT : VariantProperties> : Component<PropertiesT>, ActionableComponentObject
com.android.build.api.variant.Variant

Variant object that contains properties that must be set during configuration time as it changes the build flow for the variant.

Summary

Public methods

abstract Unit

abstract Unit

abstract Unit

abstract Unit

Inherited functions

Properties

abstract Int

Inherited properties

Public methods

androidTest

abstract fun androidTest(action: AndroidTest<AndroidTestProperties>.() -> Unit): Unit

androidTestProperties

abstract fun androidTestProperties(action: AndroidTestProperties.() -> Unit): Unit

unitTest

abstract fun unitTest(action: UnitTest<UnitTestProperties>.() -> Unit): Unit

unitTestProperties

abstract fun unitTestProperties(action: UnitTestProperties.() -> Unit): Unit

Properties

minSdkVersion

abstract var minSdkVersion: Int