jetbrains.buildServer.configs.kotlin.v2017_2 / Dependencies / dependency

dependency

fun dependency(buildType: BuildType, init: Dependency.() -> Unit): Unit

Adds a dependency on specified buildType, it should be further configured using snapshot() and artifacts() methods

Parameters

buildType - buildType to depend on

init - function to initialize the dependency

fun dependency(buildTypeExtId: String, 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.

Parameters

buildTypeExtId - id of the buildType to depend on

init - function to initialize the dependency