DSL object for configuring per-language splits options.
See APK Splits.
Type | Name and description |
---|---|
Set<String> |
getApplicationFilters() |
Set<String> |
getInclude() Collection of include patterns. |
void |
include(String... includes) Adds an include pattern. |
boolean |
isAuto() Returns whether to use the automatic discovery mechanism for supported languages (true) or the manual include list (false). |
boolean |
isEnable() Returns true if splits should be generated for languages. |
void |
setAuto(boolean auto) Sets whether the build system should determine the splits based on the "language-*" folders in the resources. |
void |
setEnable(boolean enable) enables or disables splits for language |
void |
setInclude(List<String> list) |
Adds an include pattern.
Returns whether to use the automatic discovery mechanism for supported languages (true) or the manual include list (false).
Returns true if splits should be generated for languages.
Sets whether the build system should determine the splits based on the "language-*" folders in the resources. If the auto mode is set to true, the include list will be ignored.
auto
- true to automatically set the splits list based on the folders presence, false
to use the include list.enables or disables splits for language