abstract fun create(dependencyNotation: Any): Dependency
Creates a dependency without adding it to a configuration.
dependencyNotation
- The dependency notation, in one of the notations described above.
Return
The dependency.
abstract fun create(dependencyNotation: Any, configureClosure: Closure<Any>): Dependency
Creates a dependency without adding it to a configuration, and configures the dependency using the given closure.
dependencyNotation
- The dependency notation, in one of the notations described above.
configureClosure
- The closure to use to configure the dependency.
Return
The dependency.