-
Notifications
You must be signed in to change notification settings - Fork 1
RunningGodot
frontrider edited this page Oct 30, 2023
·
3 revisions
The binaries will be downloaded to:
- If the
GODOT_HOME
environment variable is present then it will be inside<GODOT_HOME>/godot
- If the
GRADLE_HOME
environment variable is present then it will be inside<GRADLE_HOME>/godle/godot
, with theGODOT_HOME
variable read as<GRADLE_HOME>/godle/
. - If none of the above, then it follows the convention for
GRADLE_HOME
and be inside<HOME>/.gradle/godle/godot/
.
The binaries come in zip files, those are in:
- If the
GODOT_HOME
environment variable is present then it will be inside<GODOT_HOME>/godot_cache
- If the
GRADLE_HOME
environment variable is present then it will be inside<GRADLE_HOME>/godle/godot_cache
, with theGODOT_HOME
variable read as<GRADLE_HOME>/godle/
. - If none of the above, then it follows the convention for
GRADLE_HOME
and be inside<HOME>/.gradle/godle/godot_cache/
.
Every run task will pick up the environment variables you configured with the godle extension, and will use the godot version you configured for this project.
The editor can be executed with the godotEditor
task. It will also skip the project manager.
The current project can run with the godotRunGame
task. You might need to make this task depend on other tasks (eg, build
in the case of Godot Kotlin/JVM).
You can use the GodotScriptExec
task to run gdscripts in the context of gradle.