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.

abstract Boolean

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

Inherited properties

Properties

enable

abstract var enable: Boolean

Deprecated.

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

enabled

abstract var enabled: Boolean

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