Split

interface Split
com.android.build.api.dsl.Split

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

Summary

Public methods

abstract Unit
exclude(vararg excludes: String)

Excludes some values

abstract Unit
include(vararg includes: String)

Includes some values

abstract Unit

Resets the list of included split configuration.

Properties

abstract Boolean

Whether to split in this dimension.

Public methods

exclude

@Incubating abstract fun exclude(vararg excludes: String): Unit

Excludes some values

include

@Incubating abstract fun include(vararg includes: String): Unit

Includes some values

reset

@Incubating abstract fun reset(): Unit

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.

Properties

isEnable

abstract var isEnable: Boolean

Whether to split in this dimension.