setConfiguration

open fun setConfiguration(@Nullable configurationName: String)(source)

Sets the configuration (via name) to look the dependency in.

This method is exposed to the command line interface. Example usage:

gradle dependencyInsight --configuration runtime --dependency slf4j