jetbrains.buildServer.configs.kotlin.v10 / Dependency

Dependency

class Dependency

Represents dependency of one build on another

Constructors

<init>

Dependency(base: Dependency? = null, init: Dependency.() -> Unit = {})

Properties

artifacts

var artifacts: ArtifactDependency?

Artifact dependency settings or null if there should be no artifact dependency

extId

var extId: String

External id of the build configuration to depend on

snapshot

var snapshot: SnapshotDependency?

Snapshot dependency settings or null if there should be no snapshot dependency

Functions

artifacts

fun artifacts(init: ArtifactDependency.() -> Unit): Unit

Configures artifact dependency. When this block is missing, no artifact dependency will be added.

snapshot

fun snapshot(init: SnapshotDependency.() -> Unit): Unit

Configures snapshot dependency. When this block is missing, no snapshot dependency will be added.