Search Gradle plugins

Using the plugins DSL:

plugins {
  id("org.curioswitch.gradle-node-plugin") version "0.9.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.curioswitch.curiostack:gradle-curiostack-plugin:0.9.1")
  }
}

apply(plugin = "org.curioswitch.gradle-node-plugin")

Using the plugins DSL:

plugins {
  id "org.curioswitch.gradle-node-plugin" version "0.9.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.curioswitch.curiostack:gradle-curiostack-plugin:0.9.1"
  }
}

apply plugin: "org.curioswitch.gradle-node-plugin"

Learn how to apply plugins to subprojects