Search Gradle plugins

Using the plugins DSL:

plugins {
  id "org.danilopianini.gradle-java-qa" version "0.6.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.danilopianini:gradle-java-qa:0.6.0"
  }
}

apply plugin: "org.danilopianini.gradle-java-qa"

Using the plugins DSL:

plugins {
  id("org.danilopianini.gradle-java-qa") version "0.6.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.danilopianini:gradle-java-qa:0.6.0")
  }
}

apply(plugin = "org.danilopianini.gradle-java-qa")

Learn how to apply plugins to subprojects