23 lines
2.3 KiB
HTML
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.v2018_1</a> / <a href="index.html">Dependencies</a> / <a href="./dependency.html">dependency</a><br/>
|
|
<br/>
|
|
<h1>dependency</h1>
|
|
<a name="jetbrains.buildServer.configs.kotlin.v2018_1.Dependencies$dependency(jetbrains.buildServer.configs.kotlin.v2018_1.IdOwner, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2018_1.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.v2018_1.Dependencies$dependency(jetbrains.buildServer.configs.kotlin.v2018_1.IdOwner, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2018_1.Dependency, kotlin.Unit)))/buildTypeId">buildTypeId</span><span class="symbol">:</span> <a href="../-id-owner/index.html"><span class="identifier">IdOwner</span></a><span class="symbol">, </span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v2018_1.Dependencies$dependency(jetbrains.buildServer.configs.kotlin.v2018_1.IdOwner, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2018_1.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 <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>
|