Hey everyone! I am new to Gradle, so I started rea...
# docs
j
Hey everyone! I am new to Gradle, so I started reading the reference docs and found this part sort of confusing: In Understanding the Daemon, Shouldn't "The Wrapper" be "The Daemon"? It seems like the paragraph as a whole would make more sense if in the second sentence the Daemon is related back to the client: "The Gradle JVM client sends the Daemon build information such as command line arguments, project directories, and environment variables so that it can run the build. The Wrapper is responsible for resolving dependencies, executing build scripts, creating and running tasks; when it is done, it sends the client the output." This definition of the Wrapper conflicts with earlier notion from the Gradle Wrapper Reference (https://docs.gradle.org/current/userguide/gradle_wrapper.html), "*The Wrapper is a script that invokes a declared version of Gradle, downloading it beforehand if necessary.*"
➕ 1
t
The way I think of it when using the daemon is that the wrapper helps launch the cli client consistently, the client can trigger a new daemon to launch when needed, the daemon is effectively "gradle" and the thing doing all the work. I am not sure that is entirely correct its just the mental model I hold onto while trying to figure out issues.
t
I agree "The Wrapper" should be "The Daemon" here!