Skip to content

Run Node Scripts or Gulp/Grunt Tasks From Gradle

twitter logo github logo ・1 min read  

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:


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


Contributions are always…

twitter logo DISCUSS (1)
markdown guide

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

Classic DEV Post from Jun 17 '19

How to Get Smarter Without Knowing Anything

Extend your brainpower with the internet

Casey Brooks profile image
What's the best way to get something production-ready? Use it in production.

Hey there reader...

Do you prefer sans serif over serif?

You can change your font preferences in the "misc" section of your settings. ❀️