Search Gradle plugins

Version 0.2.0 (latest)

0.2.0

Created 12 September 2022.

Install Node-based tools which are needed by a build

Using the plugins DSL:

plugins {
  id("fi.linuxbox.npm-global") version "0.2.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("fi.linuxbox.gradle:gradle-npm-global-plugin:0.2.0")
  }
}

apply(plugin = "fi.linuxbox.npm-global")

Using the plugins DSL:

plugins {
  id "fi.linuxbox.npm-global" version "0.2.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "fi.linuxbox.gradle:gradle-npm-global-plugin:0.2.0"
  }
}

apply plugin: "fi.linuxbox.npm-global"

Learn how to apply plugins to subprojects