Files
messaging-library/messaging/messaging-outbox-jdbc-postgresql/build.gradle
T

24 lines
1.1 KiB
Groovy

apply plugin: 'java-library'
dependencies {
api project(':messaging:messaging-core-api')
api project(':messaging:messaging-reliability-api')
api project(':messaging:messaging-policy')
api project(':messaging:messaging-observability')
// The destructive-operation journal lives here because it needs exactly what the outbox needs:
// one relational database every replica can see, and a migration lane that already exists. The
// contract it implements belongs to the admin API.
api project(':messaging:messaging-admin-api')
implementation 'org.springframework:spring-jdbc'
implementation 'org.springframework:spring-tx'
// Live-database certification. The reliability patterns are claims about transaction
// boundaries and uniqueness constraints, and only a real database can settle them.
testImplementation project(':messaging:messaging-testkit')
testImplementation 'org.testcontainers:testcontainers-postgresql'
testImplementation 'org.testcontainers:testcontainers-junit-jupiter'
testImplementation 'org.postgresql:postgresql'
}