Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run individual test when tests are located in jvmTest and KMP library targets androidJvm and jvm #264

Open
Nek-12 opened this issue Aug 17, 2023 · 0 comments

Comments

@Nek-12
Copy link

Nek-12 commented Aug 17, 2023

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 #245

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant