Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract gradle daemon to a separate service #13685

Closed
purpleP opened this issue Jul 4, 2020 · 1 comment
Closed

Extract gradle daemon to a separate service #13685

purpleP opened this issue Jul 4, 2020 · 1 comment
Labels
closed:duplicate Duplicated or superseeded by another issue

Comments

@purpleP
Copy link

purpleP commented Jul 4, 2020

Motivations is to be able to run builds in docker without sacrificing any performance.

Let's say the team uses gradle as a generic build tool not just java code. This means that certain tasks have dependencies like npm, yarn etc of arbitrary complexity.
What a the ways to tackle this? I know basically two ways - nix and docker.
Nix is a very good idea and probably ultimately better but it has problems with build speed, incremental builds and it's still not that popular.
Docker on the other hand is already industry standard of deploying software, has good support on mac and windows etc. It's already used in tools like Jenkins as one of the way to specify build environment.

So my vision is that developer shouldn't have to setup his machine to build particular software in any way except of installing docker (or nix).
Then he uses some kind of easily discoverable method to build software inside of a container (make for example).

It can be done with gradle, but one would loose some efficiency because of the daemon. Or one would have to use experimental file-watch feature which wouldn't help in Jenkins environments anyway.

In any case I think "explicit is better than implicit" applies here. Making daemon a separate service would also have the benefit of being able to to distributed builds probably.

@purpleP purpleP added a:feature A new functionality from:contributor labels Jul 4, 2020
@ljacomet ljacomet self-assigned this Sep 13, 2021
@ov7a
Copy link
Member

ov7a commented Sep 20, 2023

Sorry for the late reply.


This issue will be closed as a duplicate of

Please add your use case and 👍 to that issue.


We currently don't have plans to extract the Gradle daemon into a separate remote service.

@ov7a ov7a closed this as not planned Won't fix, can't repro, duplicate, stale Sep 20, 2023
@ov7a ov7a added closed:duplicate Duplicated or superseeded by another issue and removed a:feature A new functionality to-triage labels Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed:duplicate Duplicated or superseeded by another issue
Projects
None yet
Development

No branches or pull requests

5 participants