phldavies
07/17/2026, 6:23 PMproject-a) that is also composited into another build project-b (using includeBuild). Both the project and the composite build are open in the same IntelliJ (workspace). When running tests from the icon in that project we're seeing the gradle task being determined as :project-a:test but the gradle project for the run configuration being project-a and no tests are found or executed. Correcting the run configuration (either to call :test against project-a or :project-a:test against project-b) works.Oliver.O
07/17/2026, 6:44 PMphldavies
07/17/2026, 6:45 PMphldavies
07/17/2026, 7:09 PMInnerSuite in the inner-project will fail.Oliver.O
07/17/2026, 8:04 PMphldavies
07/17/2026, 8:19 PMOliver.O
07/17/2026, 8:25 PMOliver.O
07/17/2026, 8:27 PMOliver.O
07/17/2026, 8:28 PMouter-project/settings.gradle.kts and then "Link Gradle Project".phldavies
07/17/2026, 8:34 PMphldavies
07/17/2026, 8:35 PMOliver.O
07/17/2026, 8:38 PMInnerSuite from the gutter.Oliver.O
07/17/2026, 8:39 PMOliver.O
07/17/2026, 8:41 PMphldavies
07/17/2026, 8:44 PMOliver.O
07/17/2026, 8:44 PMOliver.O
07/17/2026, 8:44 PMphldavies
07/17/2026, 9:05 PMInnerSuite gets the wrong configuration for me (I've removed the workspaces plugin - this is on 2026.1.4). Sorry for taking up your time, but I appreciate you looking into it :)Oliver.O
07/17/2026, 9:14 PMorg.jetbrains.kotlin.config.ExternalSystemTestRunTask#getExternalSystemProjectId).
And luckily, while trying to video the same thing, I got a reproduction: Closing the IDE after unlinking everything and cleaning up run configurations made a difference.
Seems like something confuses the IDE, but now I can try to track it down.phldavies
07/17/2026, 9:15 PMOliver.O
07/17/2026, 9:15 PMOliver.O
07/17/2026, 9:27 PMOliver.O
07/17/2026, 9:53 PMphldavies
07/17/2026, 10:04 PMOliver.O
07/17/2026, 10:12 PMmodule.externalProjectPath and resolveProjectPath(module). The former one is more Kotlin-y (val getter), but seemingly does the wrong thing in exactly this case. The latter one does the right thing, hopefully everywhere.Oliver.O
07/18/2026, 2:22 PMphldavies
07/21/2026, 9:08 AMOliver.O
07/21/2026, 2:29 PM