eirikb
07/14/2021, 4:57 AMCLOVIS
07/14/2021, 7:34 AMBig Chungus
07/14/2021, 8:11 AMeirikb
07/14/2021, 8:13 AMBig Chungus
07/14/2021, 8:14 AMeirikb
07/14/2021, 8:17 AMBig Chungus
07/14/2021, 8:18 AMBig Chungus
07/14/2021, 8:19 AMBig Chungus
07/14/2021, 8:19 AMeirikb
07/14/2021, 8:20 AMCLOVIS
07/14/2021, 8:24 AMjvmMain
, it's just wasted configuration
If you can manage to write most of your code is commonMain
that's really good, but that also means that you don't have access to normal Java APIs (like File & co) so in many projects that's not convenient
As an example though, I have a project that uses a Kotlin/JS frontend, and the full API is written in a Multiplatform module with only JS enabled, it only has a single expect
method. That means that if the client ever wants a desktop app or whatever, the whole API can be used pretty much as is by the JVM or nativernett
07/14/2021, 9:47 PMactual
themselves for any unsupported platforms