Skip to content

Commit 9662bec

Browse files
committed
Update spring-boot-smoke-test-data-r2dbc-liquibase to use docker-test plugin
See gh-41228
1 parent b520239 commit 9662bec

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
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 Liquibase 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.liquibase:liquibase-core") {
@@ -14,12 +23,4 @@ dependencies {
1423
runtimeOnly("org.postgresql:postgresql")
1524
runtimeOnly("org.postgresql:r2dbc-postgresql")
1625
runtimeOnly("org.springframework:spring-jdbc")
17-
18-
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
19-
testImplementation(project(":spring-boot-project:spring-boot-testcontainers"))
20-
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
21-
testImplementation("io.projectreactor:reactor-test")
22-
testImplementation("org.testcontainers:junit-jupiter")
23-
testImplementation("org.testcontainers:postgresql")
24-
testImplementation("org.testcontainers:r2dbc")
2526
}

0 commit comments

Comments
 (0)