mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
This commit adds a section to the reference guide on how to initialize a database using R2DBC. 2 smoke tests are also added to validate this behaviour with Flyway and Liquibase. Closes gh-20742
23 lines
771 B
Groovy
23 lines
771 B
Groovy
plugins {
|
|
id "java"
|
|
id "org.springframework.boot.conventions"
|
|
}
|
|
|
|
description = "Spring Boot Data R2DBC with Liquibase smoke test"
|
|
|
|
dependencies {
|
|
implementation(platform(project(":spring-boot-project:spring-boot-parent")))
|
|
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-data-r2dbc"))
|
|
|
|
runtimeOnly("io.r2dbc:r2dbc-postgresql")
|
|
runtimeOnly("org.liquibase:liquibase-core")
|
|
runtimeOnly("org.postgresql:postgresql")
|
|
runtimeOnly("org.springframework:spring-jdbc")
|
|
|
|
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
|
|
testImplementation("io.projectreactor:reactor-test")
|
|
testImplementation("org.testcontainers:junit-jupiter")
|
|
testImplementation("org.testcontainers:postgresql")
|
|
|
|
}
|