Packaging
interface Packaging
Summary
Public functions | 
          |
|---|---|
Unit | 
            
              dex(action: @ExtensionFunctionType DexPackaging.() -> 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 JniLibsPackaging.() -> 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 ResourcesPackaging.() -> Unit)PackagingOptions for java resources  | 
          
Public properties | 
          |
|---|---|
DexPackaging | 
            
              
               PackagingOptions for dex  | 
          
MutableSet<String> | 
            
              
               This property is deprecated. This property is deprecated.  | 
          
MutableSet<String> | 
            
              
               This property is deprecated. This property is deprecated.  | 
          
JniLibsPackaging | 
            
              
               PackagingOptions for jniLibs  | 
          
MutableSet<String> | 
            
              
               This property is deprecated. This property is deprecated.  | 
          
MutableSet<String> | 
            
              
               This property is deprecated. This property is deprecated.  | 
          
ResourcesPackaging | 
            
              
               PackagingOptions for java resources  | 
          
Public functions
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 JniLibsPackaging.() -> 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 ResourcesPackaging.() -> 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.