LibraryAndroidResources

Added in 8.1.0

interface LibraryAndroidResources : AndroidResources


DSL object for configuring Android resource options for Library plugins. This is accessed via LibraryExtension.androidResources

Summary

Public properties

Boolean

Flag to enable Android resource processing in this library module Default value is 'true' for plain android libraries and 'false' for multiplatform libraries.

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

enable

Added in 8.11.0-alpha07
var enableBoolean

Flag to enable Android resource processing in this library module Default value is 'true' for plain android libraries and 'false' for multiplatform libraries.