Skip to content

Commit 884546b

Browse files
committed
added dependency to spring-cloud-contract-provider
1 parent be8be2e commit 884546b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

spring-cloud/spring-cloud-contract-consumer/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ dependencies {
2929
compile("org.springframework.cloud:spring-cloud-starter-openfeign")
3030
compile('org.springframework.cloud:spring-cloud-starter-netflix-ribbon')
3131
compile('com.h2database:h2:1.4.196')
32+
// This dependency is only included so that the gradle build executes the provider build first!
33+
// It should not be included in a real project.
34+
compile project(':spring-cloud:spring-cloud-contract-provider')
3235
testCompile("org.springframework.cloud:spring-cloud-starter-contract-stub-runner")
3336
testCompile("org.springframework.boot:spring-boot-starter-test")
3437
}

0 commit comments

Comments
 (0)