AbiSplitOptions

DSL object for configuring per-abi splits options.

See APK Splits.

Properties

PropertyDescription
applicableFilters

Returns a list of all applicable filters for this dimension.

enable

Whether to split in this dimension.

universalApk

Whether to create an APK with all available ABIs.

Methods

MethodDescription
exclude(excludes)

excludes some values

include(includes)

includes some values

reset()

Resets the list of included split configuration.

Script blocks

No script blocks

Property details

Set<String> applicableFilters (read-only)

Returns a list of all applicable filters for this dimension.

The list can return null, indicating that the no-filter option must also be used.

boolean enable

Whether to split in this dimension.

boolean universalApk

Whether to create an APK with all available ABIs.

Method details

void exclude(String... excludes)

excludes some values

void include(String... includes)

includes some values

void reset()

Resets the list of included split configuration.

Use this before calling include, in order to manually configure the list of configuration to split on, rather than excluding from the default list.