Skip to content

Compiling your project

To compile your project, run a classic Gradle build. By default this creates a debug version of your code.

Using the Godot editor:

Build button

Using your IDE:

Gradle task

Using command-line:

1
gradlew build
1
./gradlew build

Targets

We have two targets: debug and release. In order to build in release, you should add release parameter to your Gradle build command.

Example:

1
gradlew build -Prelease
1
./gradlew build -Prelease

Using debug builds is recommended when developing. It adds some sanity checks that are cut off in release.

Release builds are recommended when distributing to retail.