kotest-intellij-plugin
kotest-intellij-plugin copied to clipboard
Cannot run individual test when tests are located in `jvmTest` and KMP library targets `androidJvm` and `jvm`
Trying to run individual tests (subscpecs) from the IDE plugin fails with this exception:
Cannot locate tasks that match ':core:compileJava' as task 'compileJava' is ambiguous in project ':core'. Candidates are: 'compileDebugAndroidTestJavaWithJavac', 'compileDebugJavaWithJavac', 'compileDebugTestFixturesJavaWithJavac', 'compileDebugUnitTestJavaWithJavac', 'compileReleaseJavaWithJavac', 'compileReleaseTestFixturesJavaWithJavac', 'compileReleaseUnitTestJavaWithJavac'.
This is because the plugin tries to run an ambiguous compile action. (Andriod and Jvm at the same time)
This issue is the result of https://github.com/kotest/kotest-intellij-plugin/issues/245