Add support for WireMock matchers on restdocs stub builder
This commit is contained in:
@@ -5,9 +5,6 @@ buildscript {
|
||||
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/" }
|
||||
}
|
||||
dependencies {
|
||||
classpath "org.springframework.boot:spring-boot-gradle-plugin:1.4.0.BUILD-SNAPSHOT"
|
||||
@@ -41,7 +38,8 @@ dependencies {
|
||||
compile("org.springframework.boot:spring-boot-starter-actuator")
|
||||
|
||||
testCompile 'org.springframework.cloud:spring-cloud-contract-wiremock'
|
||||
testCompile "org.springframework.cloud:spring-cloud-starter-contract-stub-runner"
|
||||
testCompile "org.springframework.boot:spring-boot-starter-test"
|
||||
testCompile "com.example:http-server-restdocs:0.0.1-SNAPSHOT:stubs"
|
||||
}
|
||||
|
||||
test {
|
||||
|
||||
@@ -141,22 +141,6 @@
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</pluginRepository>
|
||||
<pluginRepository>
|
||||
<id>spring-plugin-snapshots</id>
|
||||
<name>Spring Snapshots</name>
|
||||
<url>http://repo.spring.io/plugins-snapshot-local</url>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
</snapshots>
|
||||
</pluginRepository>
|
||||
<pluginRepository>
|
||||
<id>spring-plugin-milestones</id>
|
||||
<name>Spring Milestones</name>
|
||||
<url>http://repo.spring.io/plugins-milestone-local</url>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
Reference in New Issue
Block a user