Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.brambolt.wrench.staging") version "2022.01.01-5616"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "com.brambolt.wrench.staging" version "2022.01.01-5616"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects