Skip to content

EngineModules

frontrider edited this page Oct 30, 2023 · 6 revisions

Godle works well with custom engine modules, as you no longer need to care about the related download.

Supported binaries

Official

configure<GodleExtension> {
    version = godot("<Godot version, defaults to 3.5.1>")
    asGodot("<Godot version, defaults to 3.5.1>")
}

Mono

configure<GodleExtension> {
    version = mono("<version>")
    asMono("<version>")
}

Godot 4 beta

This will configure Godot 4.0-beta! You only need the beta number, not the full version number (eg "9", and "9" alone!).

configure<GodleExtension> {
    version = godot4Beta("<beta version>")
    asMono("<beta version>")
}

Godot 3 kotlin/jvm

Downloads the binaries for the Kotlin/JVM module.

Versions can be found at https://github.com/utopia-rise/godot-kotlin-jvm/releases.

By default it will detect the JVM currently used by gradle, and set the JAVA_HOME for godot to that path.

configure<GodleExtension> {
    version = `kotlin-jvm`("<full version>")
    //disabled jvm detection
    version = kotlinJvm("<full version>",false)
    `asKotlin-jvm`("<full version>")
}

Local binary

Godle can support a local binary for cases when it is used to test a fresh build.

configure<GodleExtension> {
version = local("path to binary",MajorVersion)
asLocal("path to binary",MajorVersion)
}

Custom builds

See: https://github.com/Frontrider/Godle/wiki/Godot-Version-Support

Clone this wiki locally