Description
Support GraalVM native images
In addition to supporting Kotlin/JS and Kotlin/Native (See #69) we should provide Support for GraalVM native image.
Tasks
- Generate GraalVM runtime hints for Serializable classes and cache data classes
- Provide example
- Write readme for example
- Kotlin Support for GraalVM
- KTor support for GraalVM
- MocKK support for GraalVM
Experimental builds
Currently, we provide an experimental Graal build (See #787), this build is not fully tested and not recommended for production use
You can obtain it using the feature-graal-SNAPSHOT
version. See the Project README for more information
Original Issue
I saw that you're working on kotlin native/multiplatform support and was wondering if GraalVM Native Image is also something that you're interested in supporting in the future.
Some context:
I'm currently trying to build a native image for one of my side projects that uses kord and there are a lot of runtime hints required to get everything working. I was hoping that kord could provide such runtime hints so that i don't have to maintain it if something changes under the hood.