PackagingOptions
@Incubating interface PackagingOptions
Summary
Public functions |
|
---|---|
Unit |
dex(action: (@ExtensionFunctionType DexPackagingOptions.() -> Unit)?) PackagingOptions for dex |
Unit |
This function is deprecated. This method is deprecated. |
Unit |
This function is deprecated. This method is deprecated. |
Unit |
jniLibs(action: (@ExtensionFunctionType JniLibsPackagingOptions.() -> Unit)?) PackagingOptions for jniLibs |
Unit |
This function is deprecated. This method is deprecated. |
Unit |
This function is deprecated. This method is deprecated. |
Unit |
resources(action: (@ExtensionFunctionType ResourcesPackagingOptions.() -> Unit)?) PackagingOptions for java resources |
Public properties |
|
---|---|
DexPackagingOptions |
PackagingOptions for dex |
MutableSet<String> |
This property is deprecated. This property is deprecated. |
MutableSet<String> |
This property is deprecated. This property is deprecated. |
JniLibsPackagingOptions |
PackagingOptions for jniLibs |
MutableSet<String> |
This property is deprecated. This property is deprecated. |
MutableSet<String> |
This property is deprecated. This property is deprecated. |
ResourcesPackagingOptions |
PackagingOptions for java resources |
Public functions
dex
fun dex(action: (@ExtensionFunctionType DexPackagingOptions.() -> Unit)?): Unit
PackagingOptions for dex
doNotStrip
fundoNotStrip(pattern: String?): Unit
Adds a doNotStrip pattern.
Parameters | |
---|---|
pattern: String? |
the pattern, as packaged in the APK |
exclude
funexclude(pattern: String?): Unit
Adds an excluded pattern.
Parameters | |
---|---|
pattern: String? |
the pattern |
jniLibs
fun jniLibs(action: (@ExtensionFunctionType JniLibsPackagingOptions.() -> Unit)?): Unit
PackagingOptions for jniLibs
merge
funmerge(pattern: String?): Unit
Adds a merge pattern.
Parameters | |
---|---|
pattern: String? |
the pattern, as packaged in the APK |
pickFirst
funpickFirst(pattern: String?): Unit
Adds a first-pick pattern.
Parameters | |
---|---|
pattern: String? |
the path to add. |
resources
fun resources(action: (@ExtensionFunctionType ResourcesPackagingOptions.() -> Unit)?): Unit
PackagingOptions for java resources
Public properties
doNotStrip
val doNotStrip: MutableSet<String>
The set of patterns for native library that should not be stripped of debug symbols.
merges
val merges: MutableSet<String>
The set of patterns where all occurrences are concatenated and packaged in the APK.
pickFirsts
val pickFirsts: MutableSet<String>
The set of patterns where the first occurrence is packaged in the APK. First pick patterns do get packaged in the APK, but only the first occurrence found gets packaged.