Google is committed to advancing racial equity for Black communities. See how.

AaptOptions

@Incubating interface AaptOptions
com.android.build.api.variant.AaptOptions

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

additionalParameters

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