add
Adds a dependency to the given configuration.
Return
The dependency, or null if dependencyNotation is a provider.
Parameters
configurationName
The name of the configuration.
dependencyNotation
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
configurationName
The name of the configuration.
dependencyNotation
The dependency notation, in one of the notations described above.
configureClosure
The closure to use to configure the dependency.