You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature Request: Provide ValueSource implementations for running Node tools
Summary
Currently Gradle Plugin for Node has a 'task based' approach for running Node tools. One task can run one Node tool a single time. This is good for simple projects.
However, I would like to use Node tools in more advanced use cases:
Use Node tools before task execution, during the configuration phase.
Support executing the same tool multiple times with different arguments or running different tools sequentially in the same task.
Proposal
Provide implementations of ValueSource so users can run node tools on-demand.
The existing task-based execution approach would still work as-is, but to avoid duplication it would be best to re-write the internal implementation to use a 'ValueSource first' approach. The existing tasks will have the same API surface (so there is no change for users), but internally they will use ValueSources.
We can break up the implementation into smaller steps by migrating each Node tool individually.