Search Gradle plugins

Using the plugins DSL:

plugins {
  id "org.mockito.release-tools.auto-versioning" version "0.8.20"
}

Using legacy plugin application:

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

apply plugin: "org.mockito.release-tools.auto-versioning"

Using the plugins DSL:

plugins {
  id("org.mockito.release-tools.auto-versioning") version "0.8.20"
}

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.20")
  }
}

apply(plugin = "org.mockito.release-tools.auto-versioning")

Learn how to apply plugins to subprojects