AndroidResources

interface AndroidResources


Defines a variant's aapt options.

Summary

Public properties

ListProperty<String>

The list of additional parameters to pass to aapt.

ListProperty<String>

The list of patterns describing assets to be ignored.

ListProperty<String>

Extensions of files that will not be stored compressed in the APK.

Public properties

aaptAdditionalParameters

val aaptAdditionalParametersListProperty<String>

The list of additional parameters to pass to aapt.

This property will be initialized using the corresponding DSL value.

ignoreAssetsPatterns

val ignoreAssetsPatternsListProperty<String>

The list of patterns describing assets to be ignored.

See aapt's --ignore-assets flag via aapt --help. Note: the --ignore-assets flag accepts a single string of colon-delimited patterns, whereas this property is a list of patterns.

This property will be initialized using the corresponding DSL value.

noCompress

val noCompressListProperty<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