DSL object for configuring aapt options.
Property | Description |
additionalParameters | The list of additional parameters to pass to |
cruncherEnabled | Returns true if the PNGs should be crunched, false otherwise. |
cruncherProcesses | Obtains the number of cruncher processes to use. More cruncher processes will crunch files faster, but will require more memory and CPU. |
failOnMissingConfigEntry | Forces aapt to return an error if it fails to find an entry for a configuration. |
ignoreAssets | Pattern describing assets to be ignore. |
ignoreAssetsPattern | Pattern describing assets to be ignore. |
noCompress | Extensions of files that will not be stored compressed in the APK. Adding an empty
extension, i.e., setting |
Method | Description |
additionalParameters(param) | Adds additional parameters to be passed to |
additionalParameters(params) | Adds additional parameters to be passed to |
noCompress(noCompress) | Sets extensions of files that will not be stored compressed in the APK. |
noCompress(noCompress) | Sets extensions of files that will not be stored compressed in the APK. |
Obtains the number of cruncher processes to use. More cruncher processes will crunch files faster, but will require more memory and CPU.
Forces aapt to return an error if it fails to find an entry for a configuration.
See aapt --help
Collection
<String
>
noCompress
Collection
<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
void
additionalParameters
(String
param)
Adds additional parameters to be passed to aapt
.
void
additionalParameters
(String
...
params)
String
...Adds additional parameters to be passed to aapt
.
void
noCompress
(String
noCompress)
Sets extensions of files that will not be stored compressed in the APK.
Equivalent of the -0 flag. See aapt --help
void
noCompress
(String
...
noCompress)
String
...Sets extensions of files that will not be stored compressed in the APK.
Equivalent of the -0 flag. See aapt --help