Files
kotlin-fork/Interop
Svyatoslav Scherbina 54881b421c Use compiler-generated C stubs to call Objective-C methods
Also
*   Use compiler-generated C stubs when overriding all Objective-C methods
*   Support block types in C stubs generator
2019-04-08 10:03:29 +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