Thank you for this series of posts. It forced us to start using Kotlin DSL for TeamCity builds.
However, when such tests are added to the repo it’s failing for me on TeamCity:
[02:38:46]: Failed to apply changes from VCS to project settings (revision 21dc088d2fd73cc2ba20decfff3c736bd81151ba): Kotlin DSL compilation errors. Please fix the errors in VCS and commit again.
tests/ProjectTest.kt [2:12]: Unresolved reference: junit
tests/ProjectTest.kt [6:6]: Unresolved reference: Test
Is there a functional example somewhere on GitHub?