Skip to content

RunningGodot

frontrider edited this page Oct 30, 2023 · 3 revisions

Binary location

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 the GODOT_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 the GODOT_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.

Godot Editor

The editor can be executed with the godotEditor task. It will also skip the project manager.

The edited project

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).

Scripts

You can use the GodotScriptExec task to run gdscripts in the context of gradle.

Clone this wiki locally