Search Gradle plugins

Using the plugins DSL:

plugins {
  id("org.mockito.mockito-release-tools.gradle-plugin-releasing") version "0.8.50"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.org.mockito:mockito-release-tools:0.8.50")
  }
}

apply(plugin = "org.mockito.mockito-release-tools.gradle-plugin-releasing")

Using the plugins DSL:

plugins {
  id "org.mockito.mockito-release-tools.gradle-plugin-releasing" version "0.8.50"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.org.mockito:mockito-release-tools:0.8.50"
  }
}

apply plugin: "org.mockito.mockito-release-tools.gradle-plugin-releasing"

Learn how to apply plugins to subprojects