Search Gradle plugins

Using the plugins DSL:

plugins {
  id "com.brambolt.gradle.build.staging" version "2022.04.01-7012"
}

Using legacy plugin application:

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

apply plugin: "com.brambolt.gradle.build.staging"

Using the plugins DSL:

plugins {
  id("com.brambolt.gradle.build.staging") version "2022.04.01-7012"
}

Using legacy plugin application:

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

apply(plugin = "com.brambolt.gradle.build.staging")

Learn how to apply plugins to subprojects