DependencyVariantSelection

Added in 8.2.0-beta03

@Incubating
interface DependencyVariantSelection


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

Summary

Public properties

ListProperty<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.

MapProperty<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.

Public properties

buildTypes

Added in 8.2.0-beta03
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-beta03
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.