Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.zegreatrob.tools.tagger") version "1.0.97"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.zegreatrob.tools:tagger-plugin:1.0.97")
  }
}

apply(plugin = "com.zegreatrob.tools.tagger")

Using the plugins DSL:

plugins {
  id "com.zegreatrob.tools.tagger" version "1.0.97"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.zegreatrob.tools:tagger-plugin:1.0.97"
  }
}

apply plugin: "com.zegreatrob.tools.tagger"

Learn how to apply plugins to subprojects