The sources for the Kilua website published at https://kilua.dev.
To build the application, you need to have JDK 21 or later installed.
The following tasks are available:
./gradlew jsViteRun- run the Vite dev server for JS target onhttp://localhost:3000./gradlew -t jsViteCompileDev- run the development compilation in continuous mode for JS target./gradlew jsViteBuild- build production application for JS target tobuild/vite/js/distdirectory./gradlew wasmJsViteRun- run the Vite dev server for Wasm target onhttp://localhost:3000./gradlew -t wasmJsViteCompileDev- run the development compilation in continuous mode for Wasm target./gradlew wasmJsViteBuild- build production application for Wasm target tobuild/vite/wasmJs/distdirectory./gradlew -t jsBrowserDevelopmentRun- run the webpack dev server in continuous build mode for JS target onhttp://localhost:3000./gradlew -t wasmJsBrowserDevelopmentRun- run the webpack dev server in continuous build mode for Wasm target onhttp://localhost:3000./gradlew -t jvmRun- run the JVM dev server onhttp://localhost:8080./gradlew jsBrowserDistribution- build production application for JS target tobuild/dist/js/productionExecutabledirectory./gradlew wasmJsBrowserDistribution- build production application for Wasm target tobuild/dist/wasmJs/productionExecutabledirectory./gradlew jarWithJs- build full application with JS frontend tobuild/libsdirectory./gradlew jarWithWasmJs- build full application with Wasm frontend tobuild/libsdirectory./gradlew exportWithJs- export pre-rendered static website with JS frontend tobuild/sitedirectory./gradlew exportWithWasmJs- export pre-rendered static website with Wasm frontend tobuild/sitedirectory
Note: For auto reload with Ktor JVM backend you need to run ./gradlew -t compileKotlinJvm in a separate Gradle process.
Note: use gradlew.bat instead of ./gradlew on Windows operating system.