This project uses a modern Gradle setup approach with Kotlin DSL,
version catalog (see gradle/libs.versions.toml
) and extracted build logic
to convention plugins located in buildSrc
.
It also uses both a build cache and a configuration cache (see gradle.properties
).
It is a starting point for any LibGDX Kotlin application with LibKTX extensions and provides two launchers:
Desktop
(=lwjgl3):Lwjgl3Launcher.kt
TeaVM
(=browser):TeaVMLauncher.kt
To run lwjgl3
just execute the main
method of the launcher class or run:
./gradlew lwjgl3:run
To run teavm
you first need to compile to Javascript before running it on http://localhost:8080/
:
./gradlew teavm:buildJavaScript
./gradlew teavm:run
: automatically runsbuildJavaScript
This template can be configured using Gdx-Quilly-Utils.