https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
a

atsushieno

05/17/2021, 6:48 PM
Hi folks. I have been working on my cross-platform MIDI library in Kotlin MPP (originally from C#, but I'm porting it). It would be interesting for those who understand, in that it supports MIDI 2.0 (partially). Kotlin is the 3rd. or 4th. language that supports it now. https://atsushieno.github.io/2021/05/18/ktmidi.html
🎉 1
r

russhwolf

05/17/2021, 7:20 PM
In fact native iOS build is disabled in the meantime because it is unable to build it under ubuntu-20.04 GitHub Actions environment.
You need to use a mac host to publish to the apple platforms, but Github Actions has that environment available too
👀 1
a

atsushieno

05/17/2021, 7:34 PM
Yeah. But then the same kind of problems would happen if I'd like to distribute binaries for platform natives, and I'm lost on "best practice" kind of. I wonder if we can build native binaries for all platforms.
r

russhwolf

05/17/2021, 7:35 PM
usually you'd do a multi-step publish that builds whatever artifacts you need on the correct host
l

louiscad

05/17/2021, 7:37 PM
The Kodein Koders blog has a great article on publishing Kotlin Multiplatform libraries to MavenCentral using GitHub Actions.
This looks promising, I'll take a look tomorrow. Thanks!
10 Views