Skip to content

Commit b520239

Browse files
committed
Update spring-boot-smoke-test-data-r2dbc-flyway to use docker-test plugin
See gh-41228
1 parent 0d2d3e7 commit b520239

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed
Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
plugins {
22
id "java"
33
id "org.springframework.boot.conventions"
4+
id "org.springframework.boot.docker-test"
45
}
56

67
description = "Spring Boot Data R2DBC with Flyway smoke test"
78

89
dependencies {
10+
dockerTestImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
11+
dockerTestImplementation(project(":spring-boot-project:spring-boot-testcontainers"))
12+
dockerTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
13+
dockerTestImplementation("io.projectreactor:reactor-test")
14+
dockerTestImplementation("org.testcontainers:junit-jupiter")
15+
dockerTestImplementation("org.testcontainers:postgresql")
16+
dockerTestImplementation("org.testcontainers:r2dbc")
17+
918
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-data-r2dbc"))
1019

1120
runtimeOnly("org.flywaydb:flyway-core")
1221
runtimeOnly("org.postgresql:postgresql")
1322
runtimeOnly("org.postgresql:r2dbc-postgresql")
1423
runtimeOnly("org.springframework:spring-jdbc")
15-
16-
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
17-
testImplementation(project(":spring-boot-project:spring-boot-testcontainers"))
18-
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
19-
testImplementation("io.projectreactor:reactor-test")
20-
testImplementation("org.testcontainers:junit-jupiter")
21-
testImplementation("org.testcontainers:postgresql")
22-
testImplementation("org.testcontainers:r2dbc")
2324
}

0 commit comments

Comments
 (0)