When IDE compiles gradle project there is java process in memory ( about 250MB).
However launching gradle buld --daemon
other daemon java process is launched (about 150MB)
https://i.stack.imgur.com/9SUBd.png
Is there way to connect to Gradle daemon launched by Gradle Tooling APIs from command line.
More info from http://www.nodeclipse.org/projects/gradle
Design differences
Pivotal Gradle IDE uses Gradle Tooling API, see Chapter 62 of User Guide. This is recommended integration by GradleWare. In contrast Enide Gradle launches
gradle
executable similar how you do from command line. (And similar to Enide Maven) The API is simpler, just as what you see fromgradle -h
, but of course it will not give access to underlying model as with Tooling API.Since 0.15
--daemon
option is enabled by default see Chapter 19. The Gradle Daemon. And as Tooling API also uses Gradle Deamon, the performance is similar: i.e. a bit longer first run, second run is faster and optimized. Read also about incremental builds.