AaptOptions

@Incubating interface AaptOptions : AndroidResources

Summary

Inherited functions

Unit additionalParameters(params: String)

Adds additional parameters to be passed to aapt.

Unit additionalParameters(vararg params: String)

Adds additional parameters to be passed to aapt.

Unit noCompress(noCompress: String)

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

Equivalent of the -0 flag. See aapt --help

Unit noCompress(vararg noCompress: String)

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

Equivalent of the -0 flag. See aapt --help

Inherited properties

MutableList<String> additionalParameters

List of additional parameters to pass to aapt.

Boolean failOnMissingConfigEntry

Forces aapt to return an error if it fails to find an entry for a configuration.

See aapt --help

String? ignoreAssetsPattern

Pattern describing assets to be ignored.

See aapt --help

Boolean namespaced

Indicates whether the resources in this sub-project are fully namespaced.

This property is incubating and may change in a future release.

MutableCollection<String> noCompress

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