Presenting KorGE wrapper
KorGE Wrapper
Presenting the KorGE wrapper! A new tool that is going to replace or complement Gradle eventually. It is designed to build, run and test KorGE projects in a stable manner. It can work without Java installed on Windows, Linux and Mac (x64 and arm64 machines).
Features:
It can build
, run
and run with hotreload (run:reload
) without gradle.
It also serves as a way to install KorGE Forge by executing ./korge forge
or opening the current project with
./korge open
(doing a unattended installation if Forge is not installed).
It also provides information about modules and artifacts with ./korge info
, that will serve as the foundation for
KorGE Forge to configure the project without gradle.
It supports self-updating the wrapper itself by calling ./korge wrapper <version>
Future versions will support packing and running in other platforms. In the meantime it can coexist with the KorGE Gradle Plugin.
With Gradle:
With Gradle we have a lot of files and complexity for building. While useful in some cases, for simple games, it is an overkill. Also downloads lots of stuff that is not required for KorGE itself or games created with KorGE. In CI, even with cache, building is slow:
With KorGE Wrapper:
With the KorGE wrapper we have only the bare minimum things we need. The wrapper, the code and a small optional yaml file for specifying version, game properties or dependencies. In CI the setup and building is super fast: