gradle
Gradle Build Exit Codes
Exit codes returned by the Gradle build tool after a build completes. Scripts and CI systems use these to distinguish success from different categories of failure.
4 codes
references docs.gradle.org/current/userguide/build_environment.htmldocs.gradle.org/current/javadoc/org/gradle/tooling/BuildException.html
· All codes 4 codes
- 0 Build Successful The Gradle build completed successfully. All requested tasks ran without error.
- 1 Build Failed The Gradle build failed. One or more tasks did not complete successfully. Check the build output for the specific task failure and its associated exception or error message.
- 2 Task Not Found The Gradle task specified on the command line does not exist in the build script. Verify the task name with `gradle tasks` and check for typos or missing plugin applications.
- 3 Daemon Failure The Gradle daemon failed to initialize or was killed unexpectedly. Running with `--no-daemon` bypasses the daemon and may resolve the issue; otherwise check system memory and consult daemon logs in ~/.gradle/daemon/.