Since IntelliJ Platform Gradle Plugin 2.18 with platform 2026.2 (262+), any TestFrameworkType.Starter test fails at IDE shutdown with NoClassDefFoundError: jetbrains/buildServer/messages/serviceMessages/ServiceMessage in TeamCityReporter.reportTestMetadata — the plugin hard-excludes
org.jetbrains.teamcity:serviceMessages (and kotlin-stdlib, kotlinx-coroutines, junit:junit) from every Starter dependency, but Starter runs in a plain JVM where no IDE distribution provides them, and I found no opt-out.
This is the setup from the official Integration Tests documentation — a dedicated
source set with testFramework(TestFrameworkType.Starter, configurationName = ...); notably that example already adds kotlinx-coroutines-core-jvm manually,
which seems to compensate for the same exclusions.
Minimal reproducer built from the stock plugin template: GitHub - Jonatha1983/reproduce-nce-starter · GitHub — ./gradlew starterTest crashes; uncommenting one line ("starterTestRuntimeOnly"("org.jetbrains.teamcity:serviceMessages:2024.07")) makes it pass. Details on all four missing libraries are in the README.
Is this a known issue, and is the manual testRuntimeOnly dependency the intended approach? Happy to file this on the intellij-platform-gradle-plugin GitHub
tracker if that’s the right place.