ProductFlavorAttr
interface ProductFlavorAttr : Named
com.android.build.api.attributes.ProductFlavorAttr |
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(dimensionName)
.
Summary
Companion functions |
|
---|---|
Attribute<ProductFlavorAttr> |
Returns a product flavor attribute for the given flavor dimension |
Companion functions
of
@Incubating @JvmStatic fun of(flavorDimension: String): Attribute<ProductFlavorAttr>
Returns a product flavor attribute for the given flavor dimension