api / org.gradle.api.artifacts / ModuleDependency / getTargetConfiguration

getTargetConfiguration

abstract fun getTargetConfiguration(): String

Returns 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 should be used.