HasAndroidResources

Added in 7.0.0

interface HasAndroidResources

Known direct subclasses
AndroidTest

Model for Android Test components that contains build-time properties

DeviceTest

Model for Device Test components that contains build-time properties

TestFixtures

Model for Test Fixtures components that contains build-time properties

Variant

Model for variant components that only contains build-time properties

Known indirect subclasses
AndroidTest

Model for Android Test components that contains build-time properties

ApplicationVariant

Model for application components that only contains build-time properties.

DynamicFeatureVariant

Model for dynamic feature components that only contains build-time properties.

LibraryVariant

Model for library components that only contains build-time properties.

TestVariant

Model for test components that only contains build-time properties.


Build-time properties for Component that have Android resources.

Summary

Public functions

ResValue.Key
makeResValueKey(type: String, name: String)

Make a ResValue.Key to interact with resValues's MapProperty

Public properties

Property<Boolean>

Variant's is pseudo locales enabled, initialized by the corresponding DSL elements.

MapProperty<ResValue.KeyResValue>

Variant's ResValue which will be generated.

Public functions

makeResValueKey

Added in 7.0.0
fun makeResValueKey(type: String, name: String): ResValue.Key

Make a ResValue.Key to interact with resValues's MapProperty

Public properties

pseudoLocalesEnabled

Added in 7.0.0
val pseudoLocalesEnabledProperty<Boolean>

Variant's is pseudo locales enabled, initialized by the corresponding DSL elements.

resValues

Added in 7.0.0
val resValuesMapProperty<ResValue.KeyResValue>

Variant's ResValue which will be generated.