Search Gradle plugins

org.ysb33r.nodejs.npm

Provides NPM functionality including project caching and installaton without affecting any global installations

https://ysb33rOrg.gitlab.io/nodejs-gradle-plugin

Version 0.6.2 (latest)

Created 19 May 2019.

Provides NPM functionality including project caching and installation without affecting any global installations

Using the plugins DSL:

plugins {
  id "org.ysb33r.nodejs.npm" version "0.6.2"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id("org.ysb33r.nodejs.npm") version "0.6.2"
}

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.6.2")
  }
}

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

Learn how to apply plugins to subprojects