Kotlin multiplatform - Separate modules for integration tests and acceptance tests - noob question


I am new to the kotlin multiplatform module and was trying to figure out how can I create separate modues for jvmIntegrationTest and jvmAcceptance. Right now I try to create source sets for these by making them depend on jvmMain but I get this warning in gradle -

Kotlin Source Set ‘jvmIntegrationTest’ and ‘jvmAcceptance’ can’t depend on ‘jvmMain’ which is a default source set for compilation.

These do not get marked as test sources in intellij and are not compiling properly.

In normal gradle java projects there is a way of defining separate modules for different kinds of tests. I am thinking maybe this is not the idiomatic way of doing it in Kotlin multiplatform.

Any help is appreciated!