Engine/README.md
JeremyStarTM f2576af0b3
Some checks failed
PRs & Pushes / test (push) Failing after 1m38s
PRs & Pushes / build (push) Failing after 1m40s
PRs & Pushes / build-apidoc (push) Successful in 2m32s
Add dead documentation warning
2024-12-20 02:52:24 +01:00

3.2 KiB

Index

About

The StarOpenSource Engine is a game and application framework written in Kotlin, primarily targeting the JVM. The engine is designed to be modular, configurable and extensible while being lightweight and fast.

In this repository you can find the core engine, official subsystems, their documentation (TODO) and some miscellaneous files.

Documentation

The documentation is not yet available. We will create one soon.

Contributing

TODO, waiting for Infrastructure/website-docs#1. Sorry :c

Gradle properties

You can modify Gradle's behaviour by passing one or multiple project properties. These are read by our build.gradle.kts files and actively change the build behaviour. You can pass one by adding -P<property>=<value> to your Gradle command line.

Skipping the Java toolchain specification

Setting java.skipToolchainSpecification to true disables the JDK version check & download step performed by Gradle. Useful when automating things or if you're facing the No locally installed toolchains match and toolchain download repositories have not been defined error.

Please note however that you should only pass this option if your default, installed JDK is matching Java 21 or you will experience issues.

JVM arguments

You can pass the following arguments to modify the behaviour of JVMs used for executing projects.

jvm.logGC

Enables garbage collection logging.

Takes effect if set to true.

jvm.logJITandAOT

Enables logging about JIT and AOT code compilation.

Takes effect if set to true.

jvm.garbageCollector

Sets the garbage collector to use. Requires the specified garbage collector to be built into the JVM (some aren't compiled by default).

Accepts epsilon, serial and g1.