Search Gradle plugins

Version 7.2.8

7.2.8

Created 17 November 2021.

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 "7.2.8"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "com.liferay.yarn"

Learn how to apply plugins to subprojects