Search Gradle plugins

com.palantir.npm-run

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

https://github.com/palantir/gradle-npm-run-plugin

Sources: https://github.com/palantir/gradle-npm-run-plugin

Version 0.5.0 (latest)

0.5.0

Created 06 February 2017.

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

Using the plugins DSL:

plugins {
  id("com.palantir.npm-run") version "0.5.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.palantir.npmrun:gradle-npm-run-plugin:0.5.0")
  }
}

apply(plugin = "com.palantir.npm-run")

Using the plugins DSL:

plugins {
  id "com.palantir.npm-run" version "0.5.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.palantir.npmrun:gradle-npm-run-plugin:0.5.0"
  }
}

apply plugin: "com.palantir.npm-run"

Learn how to apply plugins to subprojects