public class PackagingOptions extends Object
DSL objects for configuring APK packaging options.
Type | Name and description |
---|---|
void |
exclude(String path) Adds an excluded paths. |
Set<String> |
getExcludes() Returns the list of excluded paths. |
Set<String> |
getPickFirsts() Returns the list of paths where the first occurrence is packaged in the APK. |
void |
pickFirst(String path) Adds a firstPick path. |
Adds an excluded paths.
path
- the path, as packaged in the APKReturns the list of excluded paths.
Returns the list of paths where the first occurrence is packaged in the APK.
Adds a firstPick path. First pick paths do get packaged in the APK, but only the first occurrence gets packaged.
path
- the path to add.