I’m getting into multi-project builds, and I notic...
# multiplatform
b
I’m getting into multi-project builds, and I noticed jvmTest runs jvmTest for all subprojects too. is there a way to make it only run tests from the root project?
gradle test
runs the
test
task in all subprojects,
gradle :test
runs the
test
task of the root project
❤️ 2
b
ah okay that’s helpful thanks
other issue is that i’m trying to run one test from the gutter icon in intellij, and it looks like it’s running
jvmTest
instead of
:jvmTest
, so it ends up erroring
since the former is going to do subprojects first, and then it errors saying the test i’m trying to run doesn’t exist there
not sure if there’s a way to fix that in IntelliJ, or if that’s a Kotlin issue