31 lines
4.0 KiB
HTML
31 lines
4.0 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<meta charset="UTF-8">
|
|
<title>Dependencies.dependency - </title>
|
|
<link rel="stylesheet" href="../../style.css">
|
|
</HEAD>
|
|
<BODY>
|
|
<a href="../index.html">jetbrains.buildServer.configs.kotlin.v2017_2</a> / <a href="index.html">Dependencies</a> / <a href="./dependency.html">dependency</a><br/>
|
|
<br/>
|
|
<h1>dependency</h1>
|
|
<a name="jetbrains.buildServer.configs.kotlin.v2017_2.Dependencies$dependency(jetbrains.buildServer.configs.kotlin.v2017_2.BuildType, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2017_2.Dependency, kotlin.Unit)))"></a>
|
|
<code><span class="keyword">fun </span><span class="identifier">dependency</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v2017_2.Dependencies$dependency(jetbrains.buildServer.configs.kotlin.v2017_2.BuildType, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2017_2.Dependency, 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.v2017_2.Dependencies$dependency(jetbrains.buildServer.configs.kotlin.v2017_2.BuildType, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2017_2.Dependency, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="../-dependency/index.html"><span class="identifier">Dependency</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><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
|
|
<p>Adds a dependency on specified buildType, it should be further configured using
|
|
snapshot() and artifacts() methods</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 dependency</p>
|
|
<a name="jetbrains.buildServer.configs.kotlin.v2017_2.Dependencies$dependency(kotlin.String, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2017_2.Dependency, kotlin.Unit)))"></a>
|
|
<code><span class="keyword">fun </span><span class="identifier">dependency</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v2017_2.Dependencies$dependency(kotlin.String, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2017_2.Dependency, 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.v2017_2.Dependencies$dependency(kotlin.String, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2017_2.Dependency, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="../-dependency/index.html"><span class="identifier">Dependency</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><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
|
|
<p>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.</p>
|
|
<h3>Parameters</h3>
|
|
<p><a name="buildTypeExtId"></a>
|
|
<code>buildTypeExtId</code> - id of the buildType to depend on</p>
|
|
<p><a name="init"></a>
|
|
<code>init</code> - function to initialize the dependency</p>
|
|
</BODY>
|
|
</HTML>
|