Currently we have a single gradle project for a directory full of independent nodejs projects.
We are using the ‘com.moowork.node’ plugin to run npm scripts, which works nicely.
The gradle build task for each nodejs project is nicely annotated with inputs/outputs.
However when multiple node projects need to be build, gradle runs their tasks sequentially.
I am very surprised, that running tasks in parallel within a single gradle project is not possible at all. (Or is it?)
I could create a gradle project for each nodejs project, but then I have the problem that the ‘com.moowork.node’ plugin will install nodejs/npm for each subproject, which is a cost I’d also like to avoid.