abstract fun add(dependencyNotation: String): Unit
Add a dependency or a dependency constraint using the string notation: group:name:version
.
dependencyNotation
- the dependency
abstract fun add(dependencyNotation: MutableMap<String, String>): Unit
Add a dependency or a dependency constraint using the map notation: group: group, name: name, version: version
.
dependencyNotation
- the dependency
abstract fun add(dependencyNotation: String, configureAction: Action<in T>): Unit
Add a dependency or a dependency constraint using the string notation: group:name:version
.
dependencyNotation
- the dependency
configureAction
- action to configure details of the dependency - see DependencyMetadata
abstract fun add(dependencyNotation: MutableMap<String, String>, configureAction: Action<in T>): Unit
Add a dependency or a dependency constraint using the map notation: group: group, name: name, version: version
.
dependencyNotation
- the dependency
configureAction
- action to configure details of the dependency - see DependencyMetadata