Setting Up

Kilua applications are built with Gradle. The official Kotlin Multiplatform gradle plugin is used to manage NPM dependencies, pack bundles (via webpack) and test the application using Karma. By using Gradle continuous build, you also can get hot module replacement (HMR) feature (apply code changes in the browser on the fly).

Note: HMR is currently supported only when developing for Kotlin/Js target. For Kotlin/WasmJs you can use simple hot reload.

Requirements

To build a typical Kilua application you should have some tools installed on your machine and available on the system PATH:

  • JDK 17

  • Git (with additional UNIX tools if using Windows)

  • GNU xgettext and msgmerge utilities to use internationalization features

Note: Make sure you are building Kilua applications on the local file system.

Last updated