29 lines
4.0 KiB
HTML
29 lines
4.0 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<meta charset="UTF-8">
|
|
<title>Dependencies.snapshot - </title>
|
|
<link rel="stylesheet" href="../../style.css">
|
|
</HEAD>
|
|
<BODY>
|
|
<a href="../index.html">jetbrains.buildServer.configs.kotlin.v10</a> / <a href="index.html">Dependencies</a> / <a href="./snapshot.html">snapshot</a><br/>
|
|
<br/>
|
|
<h1>snapshot</h1>
|
|
<a name="jetbrains.buildServer.configs.kotlin.v10.Dependencies$snapshot(jetbrains.buildServer.configs.kotlin.v10.BuildType, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.SnapshotDependency, kotlin.Unit)))"></a>
|
|
<code><span class="keyword">fun </span><span class="identifier">snapshot</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Dependencies$snapshot(jetbrains.buildServer.configs.kotlin.v10.BuildType, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.SnapshotDependency, kotlin.Unit)))/buildType">buildType</span><span class="symbol">:</span> <a href="../-build-type/index.html"><span class="identifier">BuildType</span></a><span class="symbol">, </span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Dependencies$snapshot(jetbrains.buildServer.configs.kotlin.v10.BuildType, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.SnapshotDependency, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="../-snapshot-dependency/index.html"><span class="identifier">SnapshotDependency</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a> <span class="symbol">=</span> {}<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
|
|
<p>Adds a snapshot dependency on the specified buildType</p>
|
|
<h3>Parameters</h3>
|
|
<p><a name="buildType"></a>
|
|
<code>buildType</code> - buildType to depend on</p>
|
|
<p><a name="init"></a>
|
|
<code>init</code> - function to initialize the snapshot dependency</p>
|
|
<a name="jetbrains.buildServer.configs.kotlin.v10.Dependencies$snapshot(kotlin.String, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.SnapshotDependency, kotlin.Unit)))"></a>
|
|
<code><span class="keyword">fun </span><span class="identifier">snapshot</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Dependencies$snapshot(kotlin.String, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.SnapshotDependency, kotlin.Unit)))/buildTypeExtId">buildTypeExtId</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Dependencies$snapshot(kotlin.String, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.SnapshotDependency, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="../-snapshot-dependency/index.html"><span class="identifier">SnapshotDependency</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a> <span class="symbol">=</span> {}<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
|
|
<p>Adds a snapshot dependency on the specified buildType</p>
|
|
<h3>Parameters</h3>
|
|
<p><a name="buildTypeExtId"></a>
|
|
<code>buildTypeExtId</code> - externalId of the buildType to depend on</p>
|
|
<p><a name="init"></a>
|
|
<code>init</code> - function to initialize the snapshot dependency</p>
|
|
</BODY>
|
|
</HTML>
|