Search Gradle plugins

io.github.pereduromega.node.plugin

Simple way to use node scripts (npm, yarn, pnpm) from gradle with scripts defined in package.json being auto-extracted as gradle tasks

https://github.com/PeredurOmega/GradleNodePlugin

Sources: https://github.com/PeredurOmega/GradleNodePlugin

Version 2.0.3

2.0.3

Created 26 January 2024.

Simple way to use node scripts (npm, yarn, pnpm) from gradle with scripts defined in package.json being auto-extracted as gradle tasks

Using the plugins DSL:

plugins {
  id("io.github.pereduromega.node.plugin") version "2.0.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.pereduromega:GradleNpmPlugin:2.0.3")
  }
}

apply(plugin = "io.github.pereduromega.node.plugin")

Using the plugins DSL:

plugins {
  id "io.github.pereduromega.node.plugin" version "2.0.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.pereduromega:GradleNpmPlugin:2.0.3"
  }
}

apply plugin: "io.github.pereduromega.node.plugin"

Learn how to apply plugins to subprojects