consumer/build.gradle
/*
* This file was generated by the Gradle 'init' task.
*
* This project uses @Incubating APIs which are subject to change.
*/
plugins {
id 'java'
id "au.com.dius.pact" version "4.1.0"
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework:spring-web:5.3.18'
implementation 'com.fasterxml.jackson.core:jackson-databind:[2.13,)'
compileOnly 'org.projectlombok:lombok:1.18.24'
annotationProcessor 'org.projectlombok:lombok:1.18.24'
testImplementation 'au.com.dius:pact-jvm-consumer-java8:4.0.10'
testImplementation 'au.com.dius:pact-jvm-consumer-junit5:4.0.10'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
}
test {
useJUnitPlatform()
}
group = 'com.kretar.samples.cdc-sample'
description = 'consumer'
pact {
publish {
pactBrokerUrl = 'http://localhost'
}
}