srs / gradle-node-plugin

Gradle plugin for integrating NodeJS in your build. :rocket:
Apache License 2.0
867 stars 210 forks source link

Forward flags to yarn_install task #340

Open Globegitter opened 5 years ago

Globegitter commented 5 years ago

I thought I could install new packages via gradle yarn_install, e.g. by running gradle yarn_install packagename or gradle yarn_install -- packagename but I have not yet seen a way to do this. Is this supposed to be supported? And if not do you know if it would be possible to add support for this?

deepy commented 4 years ago

There's currently no support for it, but it could be written using https://docs.gradle.org/current/userguide/custom_tasks.html#sec:declaring_and_using_command_line_options