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://ysb33rOrg.gitlab.io/nodejs-gradle-plugin

Sources: https://github.com/ysb33r/nodejs-gradle-plugin.git

Version 0.12.2

Created 26 April 2022.

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.12.2"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects