Hey there! I have a simple Kotlin Multiplatform li...
# multiplatform
e
Hey there! I have a simple Kotlin Multiplatform library setup on Kotlin 2.0.21 that targets (among others) jvm and android. I have a
jvmMain
source set where some of the files are Java and it seems I am unable to import these Java files in
jvmTest
. I always get an
Unresolved reference 'MyClass'.
Here is the rough structure
Copy code
shared
- src
  - commonMain
  - androidMain
  - iosMain
  - jvmMain
    - kotlin/.../MyClass.java
  - jvmTest
    - kotlin/.../MyClassTest.kt
Any ideas what would need to be configured so Java classes from
jvmMain
can be accessed in
jvmTest
?