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 2.1.0

2.1.0

Created 06 December 2023.

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

Add this plugin to your build using the plugins DSL:

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

See also:

  • The legacy method of plugin application.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("org.ysb33r.gradle:nodejs-gradle-plugin:2.1.0")
      }
    }
    
    apply(plugin = "org.ysb33r.nodejs.base")
  • Applying plugins to all subprojects .