Search Gradle plugins

Version 8.0.1

8.0.1

Created 04 August 2023.

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.1"
}

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "com.liferay.yarn"

Learn how to apply plugins to subprojects