anchor.diff:  WARNING: If you want to use Spock in your projects you have to add separately
   the `spock-core` and `spock-spring` modules. Check http://spockframework.github.io/[Spock docs for more information]
   
  -====== Add gradle plugin
  +====== Add gradle plugin with dependencies
   
   [source,groovy,indent=0]
   ----
  
positive.code: 		mavenCentral()
  	}
  	dependencies {
  		classpath 'org.springframework.cloud:spring-cloud-contract-gradle-plugin:${verifier_version}'
  	}
  }
  
  apply plugin: 'groovy'
  apply plugin: 'contract-verifier'
  
  dependencies {
  	testCompile 'org.codehaus.groovy:groovy-all:2.4.6'
  	testCompile 'org.spockframework:spock-core:1.0-groovy-2.4'
  	testCompile 'com.jayway.restassured:spring-mock-mvc:2.9.0' // needed if you're going to use Spring MockMvc
  }
  ----
  
  
negative.code: }
  ----
  
  ====== Add maven plugin with dependencies
  
  [source,xml,indent=0]
  ----
  
  <dependencyManagement>
      <dependencies>
          <dependency>
              <groupId>org.springframework.cloud</groupId>
              <artifactId>spring-cloud-contract-dependencies</artifactId>
              <version>${spring-cloud-contract.version}</version>
              <type>pom</type>
              <scope>import</scope>
          </dependency>
      </dependencies>
  </dependencyManagement>
  
  <dependencies>
      <dependency>
          <groupId>org.springframework.cloud</groupId>
          <artifactId>spring-cloud-starter-contract-verifier</artifactId>
          <scope>test</scope>
      </dependency>
  </dependencies>
  
  <plugin>
      <groupId>org.springframework.cloud</groupId>
      <artifactId>spring-cloud-contract-maven-plugin</artifactId>
  