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

Sources: 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.

Add this plugin to your build using the plugins DSL:

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

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("com.nickcharles.yarn-run:com.nickcharles.yarn-run.gradle.plugin:1.0.1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.nickcharles.yarn-run")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.nickcharles.yarn-run:com.nickcharles.yarn-run.gradle.plugin:1.0.1")
      }
    }
    
    apply(plugin = "com.nickcharles.yarn-run")
  • Applying plugins to all subprojects .