Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "net.madeng.slack"

Learn how to apply plugins to subprojects