fun dependency(buildTypeId: IdOwner, init: Dependency.() -> Unit): Unit
Adds a dependency on the buildType with the specified id, it should be further configured using snapshot() and artifacts() methods. Useful when buildType is not defined in kotlin.