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

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

Mono

godle {
    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!).

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

Godot kotlin/jvm

Downloads the binaries for the Kotlin/JVM module.

Versions can be found at https://github.com/utopia-rise/godot-kotlin-jvm/releases. It will use the current jvm toolchain for the java version.

Versioning scheme changed between 3 and 4, so a different config method is provided.

godle {
    version = `kotlin-jvm3`("<full version>")
    //disabled jvm detection
    version = kotlinJvm3("<full version>", false)
    `asKotlin-jvm3`("<full version>")
}
godle {
    version = `kotlin-jvm4`("<full version>")
    //disabled jvm detection
    version = kotlinJvm4("<full version>", false)
    `asKotlin-jvm4`("<full version>")
}

Local binary

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

godle {
    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