each job is isolated in a dedicated container. so sharing a daemon will not be possible. however you can use a shared remote gradle cache
👍 1
a
Adrian
09/25/2023, 12:11 PM
Thanks for confirming this! That's what I thought as well.
I just saw in the docs that it is recommended to have Gradle Daemon for both local and CI builds, and was just wondering if people were able to make it work with a Docker executor.
j
Jason Pearson
10/31/2023, 2:54 PM
IIRC Gradle will spawn a daemon regardless of whether you have --no-daemon option passed in, however that option will kill the daemon after the build is done. Don’t know why this is but I remember there was a citation of better performance.