VariantOutputConfiguration

Added in 4.2.0

interface VariantOutputConfiguration

Known direct subclasses
BuiltArtifact

Represents a built artifact that is present in the file system.

VariantOutput

Defines a variant output.


Configuration for a given build output.

This only applies to APKs as AARs and Bundles (AABs) do not support multiple outputs.

See https://developer.android.com/studio/build/configure-apk-splits.html for more information on multiple APK support.

See also
Splits

Summary

Nested types

The type of an output.

Public properties

Collection<FilterConfiguration>

The list of FilterConfiguration for this output.

VariantOutputConfiguration.OutputType

The OutputType for this particular output

Public properties

filters

Added in 4.2.0
val filtersCollection<FilterConfiguration>

The list of FilterConfiguration for this output.

If the list is empty this means there is no filter associated to this output. This is typically the case for OutputType.SINGLE

outputType

Added in 4.2.0
val outputTypeVariantOutputConfiguration.OutputType

The OutputType for this particular output