Search Gradle plugins

Using the plugins DSL:

plugins {
  id "au.com.dius.pact" version "3.2.13"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.au.com.dius:pact-jvm-provider-gradle_2.11:3.2.13"
  }
}

apply plugin: "au.com.dius.pact"

Using the plugins DSL:

plugins {
  id("au.com.dius.pact") version "3.2.13"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.au.com.dius:pact-jvm-provider-gradle_2.11:3.2.13")
  }
}

apply(plugin = "au.com.dius.pact")

Learn how to apply plugins to subprojects