gradle-node-plugin
gradle-node-plugin copied to clipboard
Parallell execution of task in same node project?
Hi
It is possible to configure a task for a project to run in parallell ?
Say for instance if I have a task that run "ng lint" and one task that runs "ng extract-i18n" ? (Via npm)
Best regards Lucas
This can be achieved with worker-api. But this will require to restructure code in all tasks (extract all logic to separate worker classes, etc). @deepy, are you interested in such PR?
@belovaf sure, that'd be great!
There's a branch called test-sbs where I've just been playing around with doing slightly related work (the idea being to enable something like the Toolchains for JVM projects) but be warned that it started out as exploratory testing to see how much work it would be and where the project would fight me :-)
I'll commit and push my local changes as soon as I fix any tests that are currently broken, although now that I think about it, I don't think there was anything of interest in there
Oh and if it requires dropping support for Gradle versions lower than 6.1 it'll have to wait until after the next release, but that's already being planned