add
  abstract fun <T, U : ExternalModuleDependency?> addProvider(configurationName: String, dependencyNotation: Provider<T>, configuration: Action<in U>)
Adds a dependency provider to the given configuration, eventually configures the dependency using the given action.
Since
6.8
Parameters
configuration
The name of the configuration.
dependency
The dependency provider notation, in one of the notations described above.
configuration
The action to use to configure the dependency.
Adds a dependency provider to the given configuration.
Since
7.0
Parameters
configuration
The name of the configuration.
dependency
The dependency provider notation, in one of the notations described above.