DependencyVariantSelection

@Incubating
public interface DependencyVariantSelection


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

Summary

Public methods

abstract @NonNull ListProperty<@NonNull 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.

abstract @NonNull MapProperty<@NonNull String, @NonNull List<@NonNull 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 methods

getBuildTypes

@Incubating
abstract @NonNull ListProperty<@NonNull StringgetBuildTypes()

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

getProductFlavors

@Incubating
abstract @NonNull MapProperty<@NonNull String, @NonNull List<@NonNull String>> getProductFlavors()

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