VariantOutput
interface VariantOutput : VariantOutputConfiguration
com.android.build.api.variant.VariantOutput |
Defines a variant output.
Summary
Properties |
|
---|---|
abstract Property<Boolean> |
Returns a modifiable Property to enable or disable the production of this VariantOutput |
abstract Property<Boolean> |
Returns a modifiable Property to enable or disable the production of this VariantOutput |
abstract Property<Int?> |
Returns a modifiable Property representing the variant output version code. |
abstract Property<String?> |
Returns a modifiable Property representing the variant output version name. |
Inherited properties |
|
---|---|
Properties
enable
abstract valenable: Property<Boolean>
Deprecated.
Returns a modifiable Property to enable or disable the production of this VariantOutput
Return | |
---|---|
a Property to enable or disable this output. |
enabled
abstract val enabled: Property<Boolean>
Returns a modifiable Property to enable or disable the production of this VariantOutput
Return | |
---|---|
a Property to enable or disable this output. |
versionCode
abstract val versionCode: Property<Int?>
Returns a modifiable Property representing the variant output version code.
This will be initialized with the variant's merged flavor value or read from the manifest file if unset.
versionName
abstract val versionName: Property<String?>
Returns a modifiable Property representing the variant output version name.
This will be initialized with the variant's merged flavor value, or it will be read from the manifest source file if it's not set via the DSL, or it will be null if it's also not set in the manifest.