I'm in the process of migrating a JVM-only Kotlin project to KMP. As part of that, I'd like to keep my tests at targeting the JVM only for now, as they make use of some JVM features. For example, I'm currently using Gradle's
jvm-test-suite
plugin to register functional tests. Does anyone have a working example how to continue using that with the JVM target of a multiplatform project, while also properly associating compilation like here so that functional tests can access ìnternal`objects?
e
ephemient
06/24/2024, 7:43 AM
can you move the JVM tests to another Java-only module?
otherwise I think the interaction between kotlin multiplatform sourcesets and java (test suite) sourcesets within the same project will take a lot of work to reconcile