mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Building upon the auto-configuration support for service connections, this commit adds support for deriving connection details from a Testcontainers-managed container. Several service-specific annotations have been introduced. These annotations can be used on a container field to indicate that it is a source of the details for a service connection. See gh-34658 Co-Authored-By: Phillip Webb <pwebb@vmware.com> Co-Authored-By: Mortitz Halbritter <mkammerer@vmware.com>
23 lines
835 B
Groovy
23 lines
835 B
Groovy
plugins {
|
|
id "java"
|
|
id "org.springframework.boot.conventions"
|
|
}
|
|
|
|
description = "Spring Boot Data R2DBC with Flyway smoke test"
|
|
|
|
dependencies {
|
|
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-data-r2dbc"))
|
|
|
|
runtimeOnly("org.flywaydb:flyway-core")
|
|
runtimeOnly("org.postgresql:postgresql")
|
|
runtimeOnly("org.postgresql:r2dbc-postgresql")
|
|
runtimeOnly("org.springframework:spring-jdbc")
|
|
|
|
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
|
|
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
|
testImplementation("io.projectreactor:reactor-test")
|
|
testImplementation("org.testcontainers:junit-jupiter")
|
|
testImplementation("org.testcontainers:postgresql")
|
|
testImplementation("org.testcontainers:r2dbc")
|
|
}
|