AndroidResources
interface AndroidResources
AaptOptions | 
                
                   This interface is deprecated. Renamed to AndroidResources  | 
              
DSL object for configuring aapt options.
Summary
Public functions | 
          |
|---|---|
@Incubating Unit | 
            
              additionalParameters(params: String?)Adds additional parameters to be passed to   | 
          
@Incubating Unit | 
            
              additionalParameters(vararg params: String?)Adds additional parameters to be passed to   | 
          
@Incubating Unit | 
            
              noCompress(noCompress: String?)Adds extensions of files that will not be stored compressed in the APK.  | 
          
@Incubating Unit | 
            
              noCompress(vararg noCompress: String?)Adds extensions of files that will not be stored compressed in the APK.  | 
          
Public properties | 
          |
|---|---|
MutableList<String> | 
            
              
               List of additional parameters to pass to   | 
          
Boolean | 
            
              
               Forces aapt to return an error if it fails to find an entry for a configuration.  | 
          
String? | 
            
              
               Pattern describing assets to be ignored.  | 
          
Boolean | 
            
              
               Indicates whether the resources in this sub-project are fully namespaced.  | 
          
MutableCollection<String> | 
            
              
               Extensions of files that will not be stored compressed in the APK.  | 
          
Public functions
additionalParameters
@Incubating
fun additionalParameters(params: String?): Unit
Adds additional parameters to be passed to aapt.
additionalParameters
@Incubating
fun additionalParameters(vararg params: String?): Unit
Adds additional parameters to be passed to aapt.
noCompress
@Incubating
fun noCompress(noCompress: String?): Unit
Adds extensions of files that will not be stored compressed in the APK.
Equivalent of the -0 flag. See aapt --help
noCompress
@Incubating
fun noCompress(vararg noCompress: String?): Unit
Adds extensions of files that will not be stored compressed in the APK.
Equivalent of the -0 flag. See aapt --help
Public properties
additionalParameters
val additionalParameters: MutableList<String>
List of additional parameters to pass to aapt.
failOnMissingConfigEntry
val failOnMissingConfigEntry: Boolean
Forces aapt to return an error if it fails to find an entry for a configuration.
See aapt --help
ignoreAssetsPattern
val ignoreAssetsPattern: String?
Pattern describing assets to be ignored.
See aapt --help
namespaced
val namespaced: Boolean
Indicates whether the resources in this sub-project are fully namespaced.
This property is incubating and may change in a future release.
noCompress
val noCompress: MutableCollection<String>
Extensions of files that will not be stored compressed in the APK. Adding an empty extension, i.e., setting noCompress '' will trivially disable compression for all files.
Equivalent of the -0 flag. See aapt --help