As part of my work on <chasm>, I created a <small ...
# kotlin-native
c
As part of my work on chasm, I created a small gradle plugin that downloads static libraries and configures all the cinterop for you. This keeps the libraries, their source sets and toolchains out of your project (KMP is complex enough already) and thus you can replace all the cinterop config with:
Copy code
bolt {
    library = "liblinmem"
    url = "<https://github.com/CharlieTap/linmem/releases/download/0.1.3/>"
}
The readme explains high the level how it works, I’ve not published the plugin yet but I will do as part of chasms next release. Hopefully it helps someone
👍 1