id 'io.spring.dependency-management' version '1.0.10.RELEASE'
id 'java'
id "io.freefair.lombok" version "5.2.1"
- id "au.com.dius.pact" version "4.1.7"
+ id "au.com.dius.pact" version "4.2.2"
id "com.wiredforcode.spawn" version "0.8.2"
}
sourceCompatibility = '11'
repositories {
+ mavenLocal()
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-hateoas'
implementation 'com.jayway.jsonpath:json-path'
- implementation 'de.ingogriebsch.hateoas:spring-hateoas-siren:1.0.0-M2'
+ implementation 'de.ingogriebsch.hateoas:spring-hateoas-siren:1.0.0'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
+ testImplementation 'au.com.dius.pact.provider:junit5spring:4.2.2'
}
test {
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")
+ }
}
}
}