crusade-tracker/system/caches/pluginsDslCache/doc/jetbrains.build-server.configs.kotlin.v2019_2/-dependencies/dependency.html
2021-01-18 15:27:50 -05:00

23 lines
2.3 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.v2019_2</a>&nbsp;/&nbsp;<a href="index.html">Dependencies</a>&nbsp;/&nbsp;<a href="./dependency.html">dependency</a><br/>
<br/>
<h1>dependency</h1>
<a name="jetbrains.buildServer.configs.kotlin.v2019_2.Dependencies$dependency(jetbrains.buildServer.configs.kotlin.v2019_2.IdOwner, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2019_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.v2019_2.Dependencies$dependency(jetbrains.buildServer.configs.kotlin.v2019_2.IdOwner, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2019_2.Dependency, kotlin.Unit)))/buildTypeId">buildTypeId</span><span class="symbol">:</span>&nbsp;<a href="../-id-owner/index.html"><span class="identifier">IdOwner</span></a><span class="symbol">, </span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v2019_2.Dependencies$dependency(jetbrains.buildServer.configs.kotlin.v2019_2.IdOwner, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2019_2.Dependency, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="../-dependency/index.html"><span class="identifier">Dependency</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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 <a href="https://www.jetbrains.com/help/teamcity/?Build+Dependencies+Setup">dependency</a> 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="buildTypeId"></a>
<code>buildTypeId</code> - buildType to depend on</p>
<p><a name="init"></a>
<code>init</code> - function to initialize the dependency</p>
</BODY>
</HTML>