Gradle Daemon
A long-lived background process that Gradle keeps running between builds so the tool and compiled build scripts stay warm.
In more detail
The first build starts the daemon, which is why it is slower; later builds reuse it. It is one of the two reasons Gradle is fast on repeat runs, the other being skipped tasks. The daemon stops by itself after a period of idleness.
Related terms
- Gradle — A build tool whose build is a script in a programming language and a graph of tasks that are skipped when their inputs have not changed.
- JVM warm-up — The first period of a Java program's life, while classes load and hot methods are still being compiled, when it runs slower than it will later.
Taught in
- The Toolchain: Gradle — Modern Java: Virtual Threads & High-Throughput Services