Search Gradle plugins

Version 8.0.0

8.0.0

Created 15 July 2022.

The Yarn Gradle plugin lets you use Yarn to install Node packages from package.json

Using the plugins DSL:

plugins {
  id("com.liferay.yarn") version "8.0.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "com.liferay.yarn" version "8.0.0"
}

Using legacy plugin application:

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

apply plugin: "com.liferay.yarn"

Learn how to apply plugins to subprojects