addDependenciesToFeatureVariantsWithIdentifiersInClassifiers

fun DependencyHandlerScope.addDependenciesToFeatureVariantsWithIdentifiersInClassifiers(configs: List<FeatureVariantDependencyConfig>, targetConfigurationType: String, group: String, name: String, version: String? = null)(source)

Parameters

configs

use a predefined one in DefaultSupported.OsAndArchs or make your own with FeatureVariantDependencyConfig

targetConfigurationType

the type of the dependency configuration (see https://docs.gradle.org/current/userguide/declaring_dependencies.html#sec:what-are-dependency-configurations and https://docs.gradle.org/current/userguide/java_library_plugin.html#sec:java_library_configurations_graph)


fun DependencyHandlerScope.addDependenciesToFeatureVariantsWithIdentifiersInClassifiers(osAndArchs: List<OsAndArch>, getIdentifier: (OsAndArch) -> String, targetConfigurationType: String, group: String, name: String, version: String? = null)(source)

See also