is there any documentation on how to build a Ktor ...
# ktor
h
is there any documentation on how to build a Ktor plugin that supports multi-platform? right now my plugin relies on a few ktor
*-jvm
libraries and I believe I need to generate a file like this
👀 1
h
The
.api
is generated by the https://github.com/Kotlin/binary-compatibility-validator and is just an internal file of your plugin to prevent binary incompatibles. For a multiplatform plugin you just need to use kotlin multiplatform plugin
You could look at https://github.com/hfhbd/RateLimit/pull/129, where I migrate from a jvm plugin to a multiplatform plugin
h
@hfhbd Little late, but thanks!