PackagingOptions

API Documentation:PackagingOptions

DSL objects for configuring APK packaging options.

Properties

PropertyDescription
excludes

The list of excluded paths.

pickFirsts

The list of paths where the first occurrence is packaged in the APK.

Methods

MethodDescription
exclude(path)

Adds an excluded paths.

pickFirst(path)

Adds a firstPick path. First pick paths do get packaged in the APK, but only the first occurrence gets packaged.

Script blocks

No script blocks

Property details

Set<String> excludes (read-only)

The list of excluded paths.

Set<String> pickFirsts (read-only)

The list of paths where the first occurrence is packaged in the APK.

Method details

void exclude(String path)

Adds an excluded paths.

void pickFirst(String path)

Adds a firstPick path. First pick paths do get packaged in the APK, but only the first occurrence gets packaged.