api / org.gradle.api.artifacts / ModuleDependency / setTargetConfiguration

setTargetConfiguration

@Incubating abstract fun setTargetConfiguration(name: String): Unit

Sets the requested target configuration of this dependency. This is the name of the configuration in the target module that should be used when selecting the matching configuration. If null, a default configuration will be used.

Since
4.0