make it ready for Android
Closed this issue · 1 comments
I have no idea how, but MPP project structure offered by JetBrains (IntelliJ IDEA) has a significant problem that there is no way to differentiate Android-specific library and desktop-specific library (Oracle, GNU Classpath, etc.). Desktop implementation has JvmMidiAccess which is based on javax.sound.midi API (javax.sound.midi is incompete, but at least implementable) and it is under jvmMain
, but since there is no androidMain
unlike Jetpack Compose MPP template (which makes use of different JetBrains Kotlin project plugin), there is no way to add Android specific sources to the project.
Jetpack Compose MPP offers a project structure where multiple modules are built for even one platform (commonMain + androidMain for common module, and Android specific module aside) but multiplatform
plugin does not offer that.
It seems that Kotlin MPP is still no-go for us yet.
done as 51fe1c3