From: Kai Moritz Date: Sun, 22 May 2022 05:05:21 +0000 (+0200) Subject: Made Gradle check the version of the pact, that was generated via Spring X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=17ba76de123368c7cfdb4732c4459bee2c098b20;p=demos%2Fexample-siren Made Gradle check the version of the pact, that was generated via Spring * Execute like: `./gradlew pactVerify` --- diff --git a/provider/build.gradle b/provider/build.gradle index dfadb06..7229334 100644 --- a/provider/build.gradle +++ b/provider/build.gradle @@ -47,6 +47,10 @@ pact { hasPactWith("Siren Consumer") { pactSource = file("${projectDir}/../consumer/pacts/Siren Order Provider-Siren Order Service.json") } + + hasPactWith("Spring Consumer") { + pactSource = file("${projectDir}/../spring-consumer/target/pacts/SpringConsumer-SirenOrderProvider.json") + } } } }