HasTestFixturesBuilder

Added in 7.1.0

@Incubating
interface HasTestFixturesBuilder

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 TestFixtures component on a Variant.

This is implemented by select subtypes of VariantBuilder.

Summary

Public properties

Boolean

Set to true if the variant's has test fixtures, false otherwise.

Public properties

enableTestFixtures

Added in 7.1.0
var enableTestFixturesBoolean

Set to true if the variant's has test fixtures, false otherwise.

Default value will match com.android.build.api.dsl.TestFixtures.enable value that is set through the extension via com.android.build.api.dsl.TestedExtension.testFixtures.