Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.brambolt.wrench.staging") version "2021.12.07-5139"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.brambolt.wrench:brambolt-wrench-staging:2021.12.07-5139")
  }
}

apply(plugin = "com.brambolt.wrench.staging")

Using the plugins DSL:

plugins {
  id "com.brambolt.wrench.staging" version "2021.12.07-5139"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.brambolt.wrench:brambolt-wrench-staging:2021.12.07-5139"
  }
}

apply plugin: "com.brambolt.wrench.staging"

Learn how to apply plugins to subprojects