Run Node Scripts or Gulp/Grunt Tasks From Gradle
Casey Brooks

Casey Brooks @cjbrooks12

About: What's the best way to get something production-ready? Use it in production.

Location:
Houston, TX
Joined:
Apr 6, 2018

Run Node Scripts or Gulp/Grunt Tasks From Gradle

Publish Date: Jan 4 '19
15 1

I recently came across this Gradle plugin while getting started with Kotlin/JS. It will download Node as part of your build (so it doesn't even need to be installed on your CI server), let you run arbitrary Node scripts, and setup Gradle tasks that mirror your Gulp or Grunt tasks.

I haven't done much with it yet, but its potential for making one seamless build for full-stack Gradle projects is huge.

GitHub logo srs / gradle-node-plugin

Gradle plugin for integrating NodeJS in your build. 🚀

Gradle Plugin for Node

Build Status Windows Build status License Version

This plugin enabled you to use a lot of NodeJS-based technologies as part of your build without having NodeJS installed locally on your system. It integrates the following NodeJS-based system with Gradle:

It's actually 3 plugins in one:

Documentation

Here's how you get started using this plugin. If you do not find what you are looking for, please add an issue to GitHub Issues.

Documentation for older releases

Here's the documentation for older releases of the plugin:

Building the Plugin

To build the plugin, just type the following command:

./gradlew clean build
Enter fullscreen mode Exit fullscreen mode

Contributing

Contributions are always…

Comments 1 total

  • Ben Halpern
    Ben HalpernJan 4, 2019

    Damn, seems like a great project. I'm not in this universe right now, but stuff like this is awesome.

Add comment