I currently have a multiplatform project working, with directory structure of:
foobar-common/src/main/kotlin/foobar/... foobar-js/src/main/kotlin/foobar/... foobar-jvm/src/main/kotlin/foobar/...
I am not a fan of this structure as it requires keeping three file trees synced up and named similarly.
Is there a way instead, to have a single tree, and have
#ifdef JS …
#ifdef JVM …
and have all three trees “merged into one” via ifdefs ?