tree: 99a01362be7379c85e022c1e208c5afbc86b6f39 [path history] [tgz]
  1. .idea/
  2. Indexer/
  3. JsRuntime/
  4. Runtime/
  5. Skia/
  6. StubGenerator/
  7. README.md
kotlin-native/Interop/README.md

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