Search Gradle plugins

Using the plugins DSL:

plugins {
  id("net.wooga.release") version "1.2.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.net.wooga.gradle:atlas-release:1.2.1")
  }
}

apply(plugin = "net.wooga.release")

Using the plugins DSL:

plugins {
  id "net.wooga.release" version "1.2.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.net.wooga.gradle:atlas-release:1.2.1"
  }
}

apply plugin: "net.wooga.release"

Learn how to apply plugins to subprojects