Search Gradle plugins

Using the plugins DSL:

plugins {
  id("net.mayope.deployplugin") version "0.0.68"
}

Using legacy plugin application:

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

apply(plugin = "net.mayope.deployplugin")

Using the plugins DSL:

plugins {
  id "net.mayope.deployplugin" version "0.0.68"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "net.mayope:deployment-plugin:0.0.68"
  }
}

apply plugin: "net.mayope.deployplugin"

Learn how to apply plugins to subprojects