Search Gradle plugins

org.ysb33r.nodejs.base

Provides Node.js and NPM tasks. No need to have Node.js installed as plugin will take care of caching and installation in a similar fashion as to have Gradle distributions are cached

https://ysb33r.github.io/nodejs-gradle-plugin

Version 0.1 (latest)

Created 18 July 2017.

Provides Node.js and NPM tasks. No need to have Node.js installed as plugin will take care of caching and installation in a similar fashion as to have Gradle distributions are cached

Using the plugins DSL:

plugins {
  id "org.ysb33r.nodejs.base" version "0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.org.ysb33r.gradle:nodejs-gradle-plugin:0.1"
  }
}

apply plugin: "org.ysb33r.nodejs.base"

Using the plugins DSL:

plugins {
  id("org.ysb33r.nodejs.base") version "0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.org.ysb33r.gradle:nodejs-gradle-plugin:0.1")
  }
}

apply(plugin = "org.ysb33r.nodejs.base")

Learn how to apply plugins to subprojects