Search Gradle plugins

Using the plugins DSL:

plugins {
  id("us.ascendtech.js.npm") version "0.5.17"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.us.ascendtech:gwt-gradle:0.5.17")
  }
}

apply(plugin = "us.ascendtech.js.npm")

Using the plugins DSL:

plugins {
  id "us.ascendtech.js.npm" version "0.5.17"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.us.ascendtech:gwt-gradle:0.5.17"
  }
}

apply plugin: "us.ascendtech.js.npm"

Learn how to apply plugins to subprojects