ProductFlavorAttr

public interface ProductFlavorAttr extends Named


Type for the attribute holding ProductFlavor information.

There can be more than one attribute associated to each org.gradle.api.artifacts.Configuration object, where each represents a different flavor dimension.

The key should be created with ProductFlavorAttr.of(flavorDimension).

Summary

Public methods

default static final @NonNull Attribute<@NonNull ProductFlavorAttr>
@Incubating
of(@NonNull String flavorDimension)

Returns a product flavor attribute for the given flavor dimension

Inherited methods

From org.gradle.api.Named
abstract @NonNull String

Public methods

of

@Incubating
default static final @NonNull Attribute<@NonNull ProductFlavorAttrof(@NonNull String flavorDimension)

Returns a product flavor attribute for the given flavor dimension

Parameters
@NonNull String flavorDimension

The name of the flavor dimension, as specified in the Android Gradle Plugin DSL.