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

344 lines
25 KiB
HTML

<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Project - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">jetbrains.buildServer.configs.kotlin.v10</a>&nbsp;/&nbsp;<a href="./index.html">Project</a><br/>
<br/>
<h1>Project</h1>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Project</span></code>
<p>Represents TeamCity <a href="https://www.jetbrains.com/help/teamcity/?Project">project</a>.</p>
<p>The <a href="uuid.html">uuid</a>, <a href="ext-id.html">extId</a>, and <a href="name.html">name</a> are mandatory properties for a valid project.</p>
<p>The <a href="parent-id.html">parentId</a> property defines a place for this project in a <a href="https://www.jetbrains.com/help/teamcity/?Project#Project-ProjectHierarchy">project hierarchy</a>,
it should be empty for the <a href="https://www.jetbrains.com/help/teamcity/?Project#Project-RootProject">Root project</a> on the server, and non-empty for other projects.</p>
<p>To appear in UI project should be either registered via the <a href="../project.html">project</a> call in the .teamcity/{ProjectExtId}/settings.kts
or added as a subproject to a registered project via the <a href="sub-project.html">subProject()</a> method.</p>
<p>BuildTypes, templates, and vcsRoots can be registered in the project using the
<a href="build-type.html">buildType</a>, <a href="template.html">template</a>, and <a href="vcs-root.html">vcsRoot</a> methods accordingly. BuildTypes and subprojects
order can be specified via the <a href="build-types-order.html">buildTypesOrder</a>, <a href="build-types-order-ext-ids.html">buildTypesOrderExtIds</a>, and <a href="sub-projects-order.html">subProjectsOrder</a> methods.</p>
<p>Project parameters are defined inside the <a href="params.html">params</a> block.</p>
<p>The <a href="https://www.jetbrains.com/help/teamcity/?Clean-Up#Clean-Up-ProjectClean-upRules">cleanup tab</a>
in the project admin UI contains clean-up rules for the project itself, its subprojects, and build
configurations. In DSL the <a href="cleanup.html">cleanup</a> block in the project defines the clean-up rules for project itself,
subprojects and buildTypes define their clean-up rules.</p>
<p>Other tabs in the project admin UI are either not stored in VCS (e.g. SSH keys), or are defined as
project features in the <a href="features.html">features</a> block.</p>
<pre><code class="lang-kotlin">//A minimal valid project:
val parentExtId = "ParentProjectExtId"
Project({
uuid = "3dd8b78d-e71c-4065-8ce7-09d6d154c99a"
parentId = parentExtId
extId = "Integration Tests".toExtId(parentExtId)
name = "Integration Tests"
})</code></pre><pre><code class="lang-kotlin">//A project with build configurations:
val parentProjectExtId = "ParentProjectExtId"
val projectExtId = "Integration Tests".toExtId(parentProjectExtId)
val linux = BuildType({
uuid = "fe255589-595a-4c2d-8c3f-6aa616441f9c"
extId = "Linux".toExtId(projectExtId)
name = "Linux"
})
val windows = BuildType({
uuid = "a8678e4d-5621-4ea5-8a3a-c9c46704e990"
extId = "Windows".toExtId(projectExtId)
name = "Windows"
})
Project({
uuid = "3dd8b78d-e71c-4065-8ce7-09d6d154c99a"
parentId = parentProjectExtId
extId = projectExtId
name = "Tests"
buildType(linux)
buildType(windows)
})</code></pre><pre><code class="lang-kotlin">//A project with subprojects:
val parentExtId = "ParentProjectExtId"
val projectExtId = "Tests".toExtId(parentExtId)
val subProject = Project({
uuid = "3dd8b78d-e71c-4065-8ce7-09d6d154c99b"
parentId = projectExtId
extId = "Slow Tests".toExtId(projectExtId)
name = "Slow Tests"
})
Project({
uuid = "3dd8b78d-e71c-4065-8ce7-09d6d154c99a"
parentId = parentExtId
extId = projectExtId
name = "Tests"
subProject(subProject)
//add a subproject without defining it as a variable
subProject {
uuid = "3dd8b78d-e71c-4065-8ce7-09d6d154c99c"
parentId = projectExtId
extId = "Fast Tests".toExtId(projectExtId)
name = "Fast Tests"
}
})</code></pre>
<p><strong>See Also</strong><br/>
<p><a href="../-build-type/index.html">BuildType</a></p>
<p><a href="../-template/index.html">Template</a></p>
<p><a href="../-vcs-root/index.html">VcsRoot</a></p>
</p>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="-init-.html">&lt;init&gt;</a></p>
</td>
<td>
<code><span class="identifier">Project</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Project$<init>(kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.Project, kotlin.Unit)), jetbrains.buildServer.configs.kotlin.v10.Project)/init">init</span><span class="symbol">:</span>&nbsp;<a href="./index.html"><span class="identifier">Project</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>&nbsp;<span class="symbol">=</span>&nbsp;{}<span class="symbol">, </span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Project$<init>(kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.Project, kotlin.Unit)), jetbrains.buildServer.configs.kotlin.v10.Project)/base">base</span><span class="symbol">:</span>&nbsp;<a href="./index.html"><span class="identifier">Project</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span></code>
<p>Creates a new project. Copies all settings from the specified
base (if it is not null) and runs the init function on the created
instance.</p>
<code><span class="identifier">Project</span><span class="symbol">(</span><span class="symbol">)</span></code>
<p>Represents TeamCity <a href="https://www.jetbrains.com/help/teamcity/?Project">project</a>.</p>
</td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="archived.html">archived</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">archived</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code>
<p>Whether this project is <a href="https://www.jetbrains.com/help/teamcity/?Archiving+Projects">archived</a></p>
</td>
</tr>
<tr>
<td>
<p><a href="build-types.html">buildTypes</a></p>
</td>
<td>
<code><span class="keyword">val </span><span class="identifier">buildTypes</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol">&lt;</span><a href="../-build-type/index.html"><span class="identifier">BuildType</span></a><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<p><a href="build-types-order.html">buildTypesOrder</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">buildTypesOrder</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="../-build-type/index.html"><span class="identifier">BuildType</span></a><span class="symbol">&gt;</span><span class="symbol">?</span></code>
<p>Specifies <a href="../-build-type/index.html">buildTypes</a> <a href="https://www.jetbrains.com/help/teamcity/?Ordering+Projects+and+Build+Configurations">order</a></p>
</td>
</tr>
<tr>
<td>
<p><a href="build-types-order-ext-ids.html">buildTypesOrderExtIds</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">buildTypesOrderExtIds</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">&gt;</span><span class="symbol">?</span></code>
<p>Specifies <a href="../-build-type/index.html">buildTypes</a> <a href="https://www.jetbrains.com/help/teamcity/?Ordering+Projects+and+Build+Configurations">order</a>.
Should contain buildType extIds, has precedence over <a href="build-types-order.html">buildTypesOrder</a>: when it is not null, <a href="build-types-order.html">buildTypesOrder</a> is ignored.
Can be used when buildTypes are created inline.</p>
</td>
</tr>
<tr>
<td>
<p><a href="cleanup.html">cleanup</a></p>
</td>
<td>
<code><span class="keyword">val </span><span class="identifier">cleanup</span><span class="symbol">: </span><a href="../-cleanup/index.html"><span class="identifier">Cleanup</span></a></code></td>
</tr>
<tr>
<td>
<p><a href="default-template.html">defaultTemplate</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">defaultTemplate</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></code>
<p>External id of a default template.</p>
</td>
</tr>
<tr>
<td>
<p><a href="description.html">description</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">description</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code>
<p>Project description</p>
</td>
</tr>
<tr>
<td>
<p><a href="ext-id.html">extId</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">extId</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code>
<p>Project external id. It appears in web UI and is used in urls. Can be
changed at any time. But be aware that some settings use it, e.g. as a
part of parameter reference. If you change the extId, you should find
all its occurrences in the current project and change them too.</p>
</td>
</tr>
<tr>
<td>
<p><a href="features.html">features</a></p>
</td>
<td>
<code><span class="keyword">val </span><span class="identifier">features</span><span class="symbol">: </span><a href="../-project-features/index.html"><span class="identifier">ProjectFeatures</span></a></code></td>
</tr>
<tr>
<td>
<p><a href="name.html">name</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">name</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code>
<p>Project name</p>
</td>
</tr>
<tr>
<td>
<p><a href="params.html">params</a></p>
</td>
<td>
<code><span class="keyword">val </span><span class="identifier">params</span><span class="symbol">: </span><a href="../-parametrized-with-type/index.html"><span class="identifier">ParametrizedWithType</span></a></code></td>
</tr>
<tr>
<td>
<p><a href="parent-id.html">parentId</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">parentId</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code>
<p>External id of the parent project, defines a place for this project in a
<a href="https://www.jetbrains.com/help/teamcity/?Project#Project-ProjectHierarchy">project hierarchy</a>.
Can be omitted for the <a href="https://www.jetbrains.com/help/teamcity/?Project#Project-RootProject">Root project</a> on the server, otherwise it is mandatory.</p>
</td>
</tr>
<tr>
<td>
<p><a href="roots.html">roots</a></p>
</td>
<td>
<code><span class="keyword">val </span><span class="identifier">roots</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol">&lt;</span><a href="../-vcs-root/index.html"><span class="identifier">VcsRoot</span></a><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<p><a href="sub-projects.html">subProjects</a></p>
</td>
<td>
<code><span class="keyword">val </span><span class="identifier">subProjects</span><span class="symbol">: </span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html"><span class="identifier">ArrayList</span></a><span class="symbol">&lt;</span><a href="./index.html"><span class="identifier">Project</span></a><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<p><a href="sub-projects-order.html">subProjectsOrder</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">subProjectsOrder</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">&gt;</span><span class="symbol">?</span></code>
<p>Specifies subprojects <a href="https://www.jetbrains.com/help/teamcity/?Ordering+Projects+and+Build+Configurations">order</a>,
contains subproject extIds.</p>
</td>
</tr>
<tr>
<td>
<p><a href="templates.html">templates</a></p>
</td>
<td>
<code><span class="keyword">val </span><span class="identifier">templates</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol">&lt;</span><a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<p><a href="uuid.html">uuid</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">uuid</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code>
<p>Project uuid. It is mandatory, TeamCity uses it to identify entities.
If project's uuid changes, TeamCity considers it to be a new project.</p>
</td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="build-type.html">buildType</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">buildType</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Project$buildType(jetbrains.buildServer.configs.kotlin.v10.BuildType, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.BuildType, kotlin.Unit)))/base">base</span><span class="symbol">:</span>&nbsp;<a href="../-build-type/index.html"><span class="identifier">BuildType</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Project$buildType(jetbrains.buildServer.configs.kotlin.v10.BuildType, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.BuildType, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="../-build-type/index.html"><span class="identifier">BuildType</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>&nbsp;<span class="symbol">=</span>&nbsp;{}<span class="symbol">)</span><span class="symbol">: </span><a href="../-build-type/index.html"><span class="identifier">BuildType</span></a></code>
<p>Registers a new buildType in this project</p>
</td>
</tr>
<tr>
<td>
<p><a href="cleanup.html">cleanup</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">cleanup</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Project$cleanup(jetbrains.buildServer.configs.kotlin.v10.Cleanup, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.Cleanup, kotlin.Unit)))/base">base</span><span class="symbol">:</span>&nbsp;<a href="../-cleanup/index.html"><span class="identifier">Cleanup</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Project$cleanup(jetbrains.buildServer.configs.kotlin.v10.Cleanup, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.Cleanup, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="../-cleanup/index.html"><span class="identifier">Cleanup</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>&nbsp;<span class="symbol">=</span>&nbsp;{}<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>Configures project <a href="https://www.jetbrains.com/help/teamcity/?Clean-Up">clean-up rules</a></p>
</td>
</tr>
<tr>
<td>
<p><a href="features.html">features</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">features</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Project$features(jetbrains.buildServer.configs.kotlin.v10.ProjectFeatures, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.ProjectFeatures, kotlin.Unit)))/base">base</span><span class="symbol">:</span>&nbsp;<a href="../-project-features/index.html"><span class="identifier">ProjectFeatures</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Project$features(jetbrains.buildServer.configs.kotlin.v10.ProjectFeatures, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.ProjectFeatures, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="../-project-features/index.html"><span class="identifier">ProjectFeatures</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>&nbsp;<span class="symbol">=</span>&nbsp;{}<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>Allows to specify project features</p>
</td>
</tr>
<tr>
<td>
<p><a href="params.html">params</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">params</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Project$params(jetbrains.buildServer.configs.kotlin.v10.Parametrized, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.ParametrizedWithType, kotlin.Unit)))/base">base</span><span class="symbol">:</span>&nbsp;<a href="../-parametrized/index.html"><span class="identifier">Parametrized</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Project$params(jetbrains.buildServer.configs.kotlin.v10.Parametrized, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.ParametrizedWithType, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="../-parametrized-with-type/index.html"><span class="identifier">ParametrizedWithType</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>&nbsp;<span class="symbol">=</span>&nbsp;{}<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>Configures project parameters</p>
</td>
</tr>
<tr>
<td>
<p><a href="sub-project.html">subProject</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">subProject</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Project$subProject(jetbrains.buildServer.configs.kotlin.v10.Project, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.Project, kotlin.Unit)))/base">base</span><span class="symbol">:</span>&nbsp;<a href="./index.html"><span class="identifier">Project</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Project$subProject(jetbrains.buildServer.configs.kotlin.v10.Project, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.Project, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="./index.html"><span class="identifier">Project</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>&nbsp;<span class="symbol">=</span>&nbsp;{}<span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">Project</span></a></code>
<p>Adds a subproject to this project</p>
</td>
</tr>
<tr>
<td>
<p><a href="sub-projects.html">subProjects</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">subProjects</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Project$subProjects(kotlin.Array((jetbrains.buildServer.configs.kotlin.v10.Project)))/projects">projects</span><span class="symbol">:</span>&nbsp;<a href="./index.html"><span class="identifier">Project</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>Sets subprojects of this project</p>
</td>
</tr>
<tr>
<td>
<p><a href="template.html">template</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">template</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Project$template(jetbrains.buildServer.configs.kotlin.v10.Template, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.Template, kotlin.Unit)))/base">base</span><span class="symbol">:</span>&nbsp;<a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Project$template(jetbrains.buildServer.configs.kotlin.v10.Template, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.Template, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="../-template/index.html"><span class="identifier">Template</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>&nbsp;<span class="symbol">=</span>&nbsp;{}<span class="symbol">)</span><span class="symbol">: </span><a href="../-template/index.html"><span class="identifier">Template</span></a></code>
<p>Registers a new template in this project</p>
</td>
</tr>
<tr>
<td>
<p><a href="vcs-root.html">vcsRoot</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">vcsRoot</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Project$vcsRoot(jetbrains.buildServer.configs.kotlin.v10.VcsRoot, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.VcsRoot, kotlin.Unit)))/base">base</span><span class="symbol">:</span>&nbsp;<a href="../-vcs-root/index.html"><span class="identifier">VcsRoot</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Project$vcsRoot(jetbrains.buildServer.configs.kotlin.v10.VcsRoot, kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.VcsRoot, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="../-vcs-root/index.html"><span class="identifier">VcsRoot</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>&nbsp;<span class="symbol">=</span>&nbsp;{}<span class="symbol">)</span><span class="symbol">: </span><a href="../-vcs-root/index.html"><span class="identifier">VcsRoot</span></a></code>
<p>Registers a new VCS root in this project</p>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>