Search Gradle plugins

Using the plugins DSL:

plugins {
  id "au.sfr.helm" version "1.0.42"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.au.sfr:helmplugin:1.0.42"
  }
}

apply plugin: "au.sfr.helm"

Using the plugins DSL:

plugins {
  id("au.sfr.helm") version "1.0.42"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.au.sfr:helmplugin:1.0.42")
  }
}

apply(plugin = "au.sfr.helm")

Learn how to apply plugins to subprojects