Search Gradle plugins

com.nickcharles.yarn-run

A Gradle Plugin to create lifecycle tasks that trigger yarn run commands.

https://github.com/nickcharles/gradle-yarn-run-plugin

Version 1.0.1 (latest)

Created 01 March 2018.

A Gradle Plugin to create lifecycle tasks that trigger yarn run commands.

Using the plugins DSL:

plugins {
  id "com.nickcharles.yarn-run" version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.nickcharles.yarnrun:gradle-yarn-run-plugin:1.0.1"
  }
}

apply plugin: "com.nickcharles.yarn-run"

Using the plugins DSL:

plugins {
  id("com.nickcharles.yarn-run") version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.nickcharles.yarnrun:gradle-yarn-run-plugin:1.0.1")
  }
}

apply(plugin = "com.nickcharles.yarn-run")

Learn how to apply plugins to subprojects