addDependency

@JvmName(name = "reifiedAddDependency")
protected inline fun <TDependency> addDependency(dependencyKey: String, path: Path)(source)(source)
protected fun addDependency(dependencyKey: String, path: Path)(source)(source)
@JvmName(name = "reifiedAddDependency")
protected inline fun <TDependency> addDependency(dependencyKey: String, path: String)(source)(source)
protected fun addDependency(dependencyKey: String, path: String)(source)(source)

Declares a dependency to path, accessible in the computed value's context via key dependencyKey.

Note: This method must only be called during the initialization of the class.