DependencyVariantSelection

Added in 8.2.0
Deprecated in 8.12.0-alpha01

@Incubating
interface DependencyVariantSelection


Specifies options for doing variant selection for external Android dependencies based on build types and product flavors

Summary

Public properties

ListProperty<String>

This property is deprecated. Replaced by LocalDependencySelection.selectBuildTypeFrom

MapProperty<StringList<String>>

This property is deprecated. Replaced by LocalDependencySelection.productFlavorDimension

Public properties

buildTypes

Added in 8.2.0
Deprecated in 8.12.0-alpha01
val buildTypesListProperty<String>

Specifies a list of build types that the plugin should try to use when a direct variant match with a dependency is not possible.

If the list is left empty, the default variant for the dependencies being consumed will be of build type "debug"

productFlavors

Added in 8.2.0
Deprecated in 8.12.0-alpha01
val productFlavorsMapProperty<StringList<String>>

Specifies a map of product flavors that the plugin should try to use when a direct variant match with a dependency is not possible.