TeamCity On-Premises
 
Get TeamCity On-Premises
You are viewing the documentation for an earlier version of TeamCity On-Premises.

Kotlin DSL

Edit page Last modified: 16 September 2022

Besides storing settings in version control in XML format, TeamCity allows storing the settings in the DSL (based on the Kotlin language).

Using the version control-stored DSL enables you to define settings programmatically. Since Kotlin is statically typed, you automatically receive the auto-completion feature in an IDE which makes the discovery of available API options much simpler.

Check out the blog post series on using Kotlin DSL in TeamCity, and the Recommended Refactorings article.

See more TeamCity Kotlin DSL video tutorials: