ComponentBuilder

interface ComponentBuilder : ComponentIdentity

Known direct subclasses
VariantBuilder

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

Known indirect subclasses
ApplicationVariantBuilder

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

DynamicFeatureVariantBuilder
LibraryVariantBuilder

VariantBuilder type for library projects

TestVariantBuilder

VariantBuilder type for tests associated with a module.


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

Summary

Public properties

Boolean

Set to true if the variant is active and should be configured, false otherwise.

Boolean

This property is deprecated. Will be removed in 8.0

Public properties

enable

val enableBoolean

Set to true if the variant is active and should be configured, false otherwise.

enabled

val enabledBoolean