add

abstract fun add(dependencyNotation: CharSequence)

Add a dependency.

Parameters

dependencyNotation

dependency to add

See also

Valid dependency notation for this method


abstract fun add(dependencyNotation: CharSequence, configuration: Action<out Any>)

Add a dependency and configure it.

Parameters

dependencyNotation

dependency to add

configuration

an action to configure the dependency

See also

Valid dependency notation for this method


abstract fun add(files: FileCollection)

Add a dependency.

Parameters

files

files to add as a dependency

See also


abstract fun add(files: FileCollection, configuration: Action<out Any>)

Add a dependency and configure it.

Parameters

files

files to add as a dependency

configuration

an action to configure the dependency

See also


abstract fun add(externalModule: ProviderConvertible<out MinimalExternalModuleDependency>)

Add a dependency.

Parameters

externalModule

external module to add as a dependency


abstract fun add(externalModule: ProviderConvertible<out MinimalExternalModuleDependency>, configuration: Action<out Any>)

Add a dependency and configure it.

Parameters

externalModule

external module to add as a dependency

configuration

an action to configure the dependency


abstract fun add(dependency: Dependency)
abstract fun add(dependency: Provider<out Dependency>)

Add a dependency.

Parameters

dependency

dependency to add


abstract fun <D : Dependency?> add(dependency: D, configuration: Action<out Any>)
abstract fun <D : Dependency?> add(dependency: Provider<out D>, configuration: Action<out Any>)

Add a dependency and configure it.

Parameters

dependency

dependency to add

configuration

an action to configure the dependency