Search Gradle plugins

Version 4.7.0 (latest)

Created 14 August 2019.

The Node Gradle plugin lets you run Node.js and NPM as part of your build.

Using the plugins DSL:

plugins {
  id "com.liferay.node" version "4.7.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.liferay:gradle-plugins-node:4.7.0"
  }
}

apply plugin: "com.liferay.node"

Using the plugins DSL:

plugins {
  id("com.liferay.node") version "4.7.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.liferay:gradle-plugins-node:4.7.0")
  }
}

apply(plugin = "com.liferay.node")

Learn how to apply plugins to subprojects