Files
kotlin-fork/Interop
Alexander Gorshenev fcba683e72 A native counterpart for plubing metadata and ir versions to klib manifest
(cherry picked from commit 06a515393df6c1c071a551353a2a82fd2252a24c)
2019-12-02 15:23:00 +01:00
..
2019-11-13 19:16:35 +03:00
2019-11-13 19:16:35 +03:00

Kotlin-native interop

Usage

Create file ../gradle.properties with contents:

llvmInstallPath=/path/to/llvm

Create a Gradle subproject somewhere under ../, using ../InteropExample as a template.

To generate the interop stubs and libraries and build all sources you can run the following command from ../:

./gradlew InteropExample:build

To run the example (if 'application' plugin is enabled):

./gradlew InteropExample:run