Skip to content
Branch: master
Find file History

README.md

HTML5 Canvas

This sample shows how to use Kotlin/Native to build a WebAssembly application and how to call JavaScript functions from a Kotlin/Native code.

Note: If you build this sample not from the Kotlin/Native repository, you need to specify a path to a Kotlin/Native distribution. Add the following snippet in gradle.properties:

org.jetbrains.kotlin.native.home=<path-to-distribution>

The default distribution path is $HOME/.konan/kotlin-native-<macos|linux|windows>-<version>.

To build use ../gradlew assemble.

To run use ../gradlew runProgram.

You can’t perform that action at this time.