srs / gradle-node-plugin

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

Any way of getting the Node Executable at application runtime #110

Open peh opened 8 years ago

peh commented 8 years ago

hey, i am working on a grails plugin that could make use of gradle-node alot. The plugin is basicly bringing webpack into the grails world and it would be nice not to force people to think about how to install node but just point them here and tell them they can easily install node with gradle-node. Is there any way of getting information if there is any known node executable (either installed by the plugin or not) without running a nodeTask?

kevana commented 8 years ago

Related to https://github.com/errbuddy/babel-asset-pipeline/issues/10#issuecomment-220717795.

From the Grails config docs, it looks like we can get access to system properties with a build.gradle tweak, that might let us bridge the gap.

srs commented 8 years ago

If you have any pull-requests for this one I would be happy to get it into master.