Stay organized with collections Save and categorize content based on your preferences.

ComponentBuilder

interface ComponentBuilder : ComponentIdentity
com.android.build.api.variant.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.