VariantOutput

@Incubating interface VariantOutput : VariantOutputConfiguration

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

Collection<FilterConfiguration> filters

Returns a possibly empty list of FilterConfiguration for this output. If the list is empty, this means there is no filter associated to this output.

VariantOutputConfiguration.OutputType outputType

Returns the output type of the referenced APK.

Properties

enable

abstract val enable: 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.