Discouraged users from using spring-cloud-contract-wiremock dependency directly

the preferred option is to use `spring-cloud-starter-stub-runner`

fixes gh-348
This commit is contained in:
Marcin Grzejszczak
2018-03-19 16:31:12 +01:00
parent 13902ecf1d
commit 51564ab444
8 changed files with 11 additions and 8 deletions

View File

@@ -43,7 +43,7 @@ dependencies {
testCompile 'org.springframework.boot:spring-boot-starter-test'
testCompile 'org.springframework.restdocs:spring-restdocs-mockmvc'
testCompile 'org.springframework.cloud:spring-cloud-contract-wiremock'
testCompile 'org.springframework.cloud:spring-cloud-starter-contract-stub-runner'
}
test {

View File

@@ -46,7 +46,7 @@
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-contract-wiremock</artifactId>
<artifactId>spring-cloud-starter-contract-stub-runner</artifactId>
<scope>test</scope>
</dependency>
</dependencies>