ApplicationAndroidResources

Added in 8.1.0

interface ApplicationAndroidResources : AndroidResources


DSL object for configuring Android resource options for Application plugins.

This is accessed via ApplicationExtension.androidResources

Summary

Public properties

Boolean

Property that automatically generates locale config when enabled.

Inherited functions

From com.android.build.api.dsl.AndroidResources
Unit

This function is deprecated. Replaced with property additionalParameters

Unit
additionalParameters(vararg params: String)

This function is deprecated. Replaced with property additionalParameters

Unit
noCompress(noCompress: String)

This function is deprecated. Replaced with property noCompress

Unit
noCompress(vararg noCompress: String)

This function is deprecated. Replaced with property noCompress

Inherited properties

From com.android.build.api.dsl.AndroidResources
MutableList<String>

List of additional parameters to pass to aapt.

Boolean

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

String?

Pattern describing assets to be ignored.

MutableCollection<String>

Patterns describing assets to be ignored.

Boolean

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

MutableCollection<String>

File extensions of Android resources, assets, and Java resources to be stored uncompressed in the APK.

Public properties

generateLocaleConfig

Added in 8.1.0
var generateLocaleConfigBoolean

Property that automatically generates locale config when enabled.