Search Gradle plugins

Using the plugins DSL:

plugins {
  id("io.spinnaker.plugin.bundler") version "8.26.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.spinnaker.gradle:spinnaker-extensions:8.26.0")
  }
}

apply(plugin = "io.spinnaker.plugin.bundler")

Using the plugins DSL:

plugins {
  id "io.spinnaker.plugin.bundler" version "8.26.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.spinnaker.gradle:spinnaker-extensions:8.26.0"
  }
}

apply plugin: "io.spinnaker.plugin.bundler"

Learn how to apply plugins to subprojects