Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "net.wooga.release"

Learn how to apply plugins to subprojects