Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.brambolt.wrench.staging") version "2022.04.01-7017"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "com.brambolt.wrench.staging" version "2022.04.01-7017"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects