From 499243b5e85ffd531eaed17dea133b072a1d233b Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Wed, 13 Jul 2016 15:34:38 +0200 Subject: [PATCH] Fixed broken Gradle tests --- .../contract-verifier-sample-stream-sink/build.gradle | 5 +++++ .../http-client/build.gradle | 1 + 2 files changed, 6 insertions(+) diff --git a/spring-cloud-contract-verifier-standalone-test-samples/contract-verifier-sample-stream-sink/build.gradle b/spring-cloud-contract-verifier-standalone-test-samples/contract-verifier-sample-stream-sink/build.gradle index fb3d56e58d..c17ad16f83 100644 --- a/spring-cloud-contract-verifier-standalone-test-samples/contract-verifier-sample-stream-sink/build.gradle +++ b/spring-cloud-contract-verifier-standalone-test-samples/contract-verifier-sample-stream-sink/build.gradle @@ -2,6 +2,10 @@ buildscript { repositories { mavenCentral() mavenLocal() + maven { url "http://repo.spring.io/libs-snapshot-local" } + maven { url "http://repo.spring.io/libs-release-local" } + maven { url "http://repo.spring.io/libs-staging-local" } + maven { url 'http://repo.spring.io/plugins-snapshot' } maven { url "http://repo.spring.io/plugins-release-local" } maven { url "http://repo.spring.io/plugins-staging-local/" } } @@ -39,6 +43,7 @@ dependencies { testRuntime "org.spockframework:spock-spring" testCompile "org.springframework:spring-test" testCompile "org.spockframework:spock-core" + testCompile "org.springframework.boot:spring-boot-starter-test" testCompile "junit:junit" testCompile "org.springframework.cloud.contract:spring-cloud-contract-stub-runner-stream:${findProperty('verifierVersion') ?: verifierVersion}" } diff --git a/spring-cloud-contract-verifier-standalone-test-samples/http-client/build.gradle b/spring-cloud-contract-verifier-standalone-test-samples/http-client/build.gradle index 4fff8ae2a3..f1a436532d 100644 --- a/spring-cloud-contract-verifier-standalone-test-samples/http-client/build.gradle +++ b/spring-cloud-contract-verifier-standalone-test-samples/http-client/build.gradle @@ -35,6 +35,7 @@ dependencies { testRuntime "org.spockframework:spock-spring" testCompile "org.springframework:spring-test" + testCompile "org.springframework.boot:spring-boot-starter-test" testCompile "org.spockframework:spock-core" testCompile "junit:junit" testCompile "org.springframework.cloud.contract:spring-cloud-contract-stub-runner-spring:${findProperty('verifierVersion') ?: verifierVersion}"