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.5 (latest)

Created 23 April 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.5"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects