Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.github.vlsi.stage-vote-release") version "1.32.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.github.vlsi.gradle:stage-vote-release-plugin:1.32.0")
  }
}

apply(plugin = "com.github.vlsi.stage-vote-release")

Using the plugins DSL:

plugins {
  id "com.github.vlsi.stage-vote-release" version "1.32.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.github.vlsi.gradle:stage-vote-release-plugin:1.32.0"
  }
}

apply plugin: "com.github.vlsi.stage-vote-release"

Learn how to apply plugins to subprojects