Search Gradle plugins

Using the plugins DSL:

plugins {
  id("io.cloudflight.autoconfigure.node-configure") version "1.1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.cloudflight.gradle:autoconfigure:1.1.1")
  }
}

apply(plugin = "io.cloudflight.autoconfigure.node-configure")

Using the plugins DSL:

plugins {
  id "io.cloudflight.autoconfigure.node-configure" version "1.1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.cloudflight.gradle:autoconfigure:1.1.1"
  }
}

apply plugin: "io.cloudflight.autoconfigure.node-configure"

Learn how to apply plugins to subprojects