Source code for wiring up Kotlin Mobile MultiPlatform With C Libraries

In this demo of wiring up Kotlin with C Libraries at this timestamp Xebia - Building an advanced Kotlin library with C & native platforms by Salomon Brys - YouTube

The presenter goes over the steps that are required to get Kotlin working with JNI and C Libs:

  • Write Kotlin Facade
  • Generate Headers
  • Write C++ implementation
  • Write CMake File
  • Configure Gradle

This is quite complex setup to get C libraries working. And Kotlin Mobile Multiplatform without C-Libraries is quite lacking. Question then, is there any publically available source code for demo where C libraries are configured to work with Gradle build system on Kotlin Mobile Multiplatform?