HasAndroidTestBuilder

Added in 7.0.0

interface HasAndroidTestBuilder

Known direct subclasses
ApplicationVariantBuilder

Model for application components that only contains configuration-time properties that impacts the build flow.

DynamicFeatureVariantBuilder

Model for dynamic feature components that only contains configuration-time properties that impacts the build flow.

LibraryVariantBuilder

Model for library components that only contains configuration-time properties that impacts the build flow.


Interface that marks the potential existence of AndroidTest component on a Variant.

This is implemented by select subtypes of VariantBuilder.

Summary

Public properties

AndroidTestBuilder

Variant's AndroidTestBuilder configuration to turn on or off android tests and set other android test related settings.

Boolean

Set to true if the variant's has any android tests, false otherwise.

Boolean

Set to true if the variant's has any android tests, false otherwise.

Public properties

androidTest

Added in 8.3.1
val androidTestAndroidTestBuilder

Variant's AndroidTestBuilder configuration to turn on or off android tests and set other android test related settings.

androidTestEnabled

Added in 7.0.0
Deprecated in 7.0.0
var androidTestEnabledBoolean

Set to true if the variant's has any android tests, false otherwise. Value is Boolean#True by default.

enableAndroidTest

Added in 7.0.0
Deprecated in 8.3.1
var enableAndroidTestBoolean

Set to true if the variant's has any android tests, false otherwise. Value is Boolean#True by default.