AndroidResources

interface AndroidResources
com.android.build.api.variant.AndroidResources

Defines a variant's aapt options.

Summary

Properties

abstract ListProperty<String>

The list of additional parameters to pass to aapt.

abstract ListProperty<String>

The list of patterns describing assets to be ignored.

Properties

aaptAdditionalParameters

abstract val aaptAdditionalParameters: ListProperty<String>

The list of additional parameters to pass to aapt.

This property will be initialized using the corresponding DSL value.

ignoreAssetsPatterns

abstract val ignoreAssetsPatterns: ListProperty<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.