SplitOptions

Base data representing how an APK should be split for a given dimension (density, abi).

Properties

PropertyDescription
applicableFilters

Returns a list of all applicable filters for this dimension.

enable

Whether to split in this dimension.

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

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.

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.