Google is committed to advancing racial equity for Black communities. See how.

ComponentBuilder

@Incubating interface ComponentBuilder : ComponentIdentity, ActionableComponentObject
com.android.build.api.component.ComponentBuilder

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

Summary

Properties

abstract Boolean

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

Inherited properties

Properties

enabled

abstract var enabled: Boolean

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