Search Gradle plugins

Version 7.2.12

7.2.12

Created 04 January 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 "7.2.12"
}

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.12")
  }
}

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "com.liferay.yarn"

Learn how to apply plugins to subprojects