Search Gradle plugins

Using the plugins DSL:

plugins {
  id("nebula.release") version "17.2.0"
}

Using legacy plugin application:

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

apply(plugin = "nebula.release")

Using the plugins DSL:

plugins {
  id "nebula.release" version "17.2.0"
}

Using legacy plugin application:

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

apply plugin: "nebula.release"

Learn how to apply plugins to subprojects