Files
kotlin-fork/Interop
Svyatoslav Scherbina d745e80135 Implement -produce framework option
It compiles Kotlin code to Objective-C framework
(also importable to Swift)
2017-11-29 12:12:02 +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