cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Should we force the use of the Gradle daemon?
Date Thu, 30 Mar 2017 15:38:17 GMT
Hey devs,

TL;DR: Gradle daemon can cause problems on some environments. Why do we
force it on?
Recently, I tried to disable the Gradle daemon for Android builds on our CI
(because it is unstable when running concurrent builds), but found that it
is nearly impossible to do. To each Gradle invocation, Cordova adds an
argument which forces the usage of the daemon[1].
I've also found that some other users had issues with the daemon[2].

At the moment, you cannot disable it for good. Even if you do "cordova build
android -- --gradleArg=-Dorg.gradle.daemon=false", it would only fix things
for the build command. The Gradle daemon is still invoked when adding a

I ended up creating a monkey patch commenting this line out on our CI, but I
don't think it is the best solution here.

So, what I wanted to ask is: Do we really need to force it on like this?
Can't we just rely on user's Gradle properties?


Alexander Sorokin

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message