Search Gradle plugins

Using the plugins DSL:

plugins {
  id "pt.simdea.verifier" version "4.0.0-alpha1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "pt.simdea.verifier:verifier:4.0.0-alpha1"
  }
}

apply plugin: "pt.simdea.verifier"

Using the plugins DSL:

plugins {
  id("pt.simdea.verifier") version "4.0.0-alpha1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("pt.simdea.verifier:verifier:4.0.0-alpha1")
  }
}

apply(plugin = "pt.simdea.verifier")

Learn how to apply plugins to subprojects