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:
Using your IDE:
Using command-line:
1 |
|
1 |
|
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 |
|
1 |
|
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.