Search Gradle plugins

Version 2.1.3.RELEASE (latest)

Created 10 September 2019.

Spring Cloud Contract Gradle Plugin

Using the plugins DSL:

plugins {
  id "org.springframework.cloud.contract" version "2.1.3.RELEASE"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.org.springframework.cloud:spring-cloud-contract-gradle-plugin:2.1.3.RELEASE"
  }
}

apply plugin: "org.springframework.cloud.contract"

Using the plugins DSL:

plugins {
  id("org.springframework.cloud.contract") version "2.1.3.RELEASE"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.org.springframework.cloud:spring-cloud-contract-gradle-plugin:2.1.3.RELEASE")
  }
}

apply(plugin = "org.springframework.cloud.contract")

Learn how to apply plugins to subprojects