Also, for some reason adding an android target and giving android/jvmDesktop a shared jvm sourceset results in the jvm sourceset working fine in gradle but IntelliJ showing all JVM classes as unresolved.
m
Michael Paus
04/30/2025, 7:27 AM
This works for me but I have seen similar scenarios several times too. Sometimes it helps to delete all gradle/kotlin/intellij caches and import the project again but it is a nuisance.