add
Adds a dependency to the given configuration.
Return
The dependency, or null if dependencyNotation is a provider.
Parameters
configuration Name
The name of the configuration.
dependency Notation
The dependency notation, in one of the notations described above.
@Nullable
Adds a dependency to the given configuration, and configures the dependency using the given closure.
Return
The dependency, or null if dependencyNotation is a provider.
Parameters
configuration Name
The name of the configuration.
dependency Notation
The dependency notation, in one of the notations described above.
configure Closure
The closure to use to configure the dependency.