Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.brambolt.gradle.staging") version "2020.10.07-4211"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "com.brambolt.gradle.staging" version "2020.10.07-4211"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects