HasAndroidTestBuilder

interface HasAndroidTestBuilder

Known direct subclasses
ApplicationVariantBuilder

Application specific variant object that contains properties that will determine the variant's build flow.

DynamicFeatureVariantBuilder
LibraryVariantBuilder

VariantBuilder type for library projects


Interface that mark the potential existence of android tests associated with a variant.

Summary

Public properties

Boolean

This property is deprecated. replaced with enableAndroidTest

Boolean

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

Public properties

androidTestEnabled

val androidTestEnabledBoolean

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

enableAndroidTest

val enableAndroidTestBoolean

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