Made Gradle check the version of the pact, that was generated via Spring
authorKai Moritz <kai@juplo.de>
Sun, 22 May 2022 05:05:21 +0000 (07:05 +0200)
committerKai Moritz <kai@juplo.de>
Fri, 3 Jun 2022 11:46:06 +0000 (13:46 +0200)
* Execute like: `./gradlew pactVerify`

provider/build.gradle

index dfadb06..7229334 100644 (file)
@@ -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")
+                       }
                }
        }
 }