The only documentation I’ve found on building multi-platform projects assumes I’m using gradle. The only documentation on the command-line compiler doesn’t mention multiplatform at all. I have found the
-Xmulti-platform option, but it’s not clear what this actually does (all I can tell is that on its own, nothing useful).
I’ve even resorted to trying to read the gradle plugin source, and that really didn’t help — if it weren’t for the fact that I can see the common module build artifacts produced by gradle, I’d doubt that any such thing existed! I have identified a thing called the metadata compiler, which is what I suspect produces the common module jars full of metadata, but this doesn’t appear to be exposed on the command line.