Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.brambolt.wrench.staging") version "2020.12.04-4288"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "com.brambolt.wrench.staging" version "2020.12.04-4288"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects