Search Gradle plugins

Using the plugins DSL:

plugins {
  id("nebula.nothing-plugin") version "2.2.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.netflix.nebula:gradle-nothing-plugin:2.2.5")
  }
}

apply(plugin = "nebula.nothing-plugin")

Using the plugins DSL:

plugins {
  id "nebula.nothing-plugin" version "2.2.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.netflix.nebula:gradle-nothing-plugin:2.2.5"
  }
}

apply plugin: "nebula.nothing-plugin"

Learn how to apply plugins to subprojects