Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "net.madeng.slack"

Learn how to apply plugins to subprojects