Search Gradle plugins

Using the plugins DSL:

plugins {
  id("net.madeng.slack") version "0.0.23"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.net.madeng.slack:gradle-slack-plugin:0.0.23")
  }
}

apply(plugin = "net.madeng.slack")

Using the plugins DSL:

plugins {
  id "net.madeng.slack" version "0.0.23"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.net.madeng.slack:gradle-slack-plugin:0.0.23"
  }
}

apply plugin: "net.madeng.slack"

Learn how to apply plugins to subprojects