Skip to content
JNI implemented in Kotlin/Native, called from Kotlin/JVM
Kotlin
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper
src
.gitattributes
.gitignore
LICENSE
README.md
build.gradle.kts
gradlew
gradlew.bat
settings.gradle.kts

README.md

Loading Kotlin/Native binary as JNI library

The idea of that project is to experiment with both JVM (11 in my case) and Kotlin/Native.

What we do

  • we run Java application
  • we build shared library with Kotlin/Native to implement JNI contracts
  • we load Kotlin/Native library into JVM application

Hack with pleasure!

License

MIT, see the LICENSE file in the repository

Building and Running

Execute ./gradlew build task. Fix path to the library in Java sources. Start Java application

You can’t perform that action at this time.