Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.hello2morrow.sonargraph.dummy") version "11.6.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.hello2morrow:sonargraph-dummy-plugin:11.6.3")
  }
}

apply(plugin = "com.hello2morrow.sonargraph.dummy")

Using the plugins DSL:

plugins {
  id "com.hello2morrow.sonargraph.dummy" version "11.6.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.hello2morrow:sonargraph-dummy-plugin:11.6.3"
  }
}

apply plugin: "com.hello2morrow.sonargraph.dummy"

Learn how to apply plugins to subprojects