1
1
plugins {
2
2
id " java"
3
3
id " org.springframework.boot.conventions"
4
+ id " org.springframework.boot.docker-test"
4
5
}
5
6
6
7
description = " Spring Boot Data R2DBC with Liquibase smoke test"
7
8
8
9
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
+
9
18
implementation(project(" :spring-boot-project:spring-boot-starters:spring-boot-starter-data-r2dbc" ))
10
19
11
20
runtimeOnly(" org.liquibase:liquibase-core" ) {
@@ -14,12 +23,4 @@ dependencies {
14
23
runtimeOnly(" org.postgresql:postgresql" )
15
24
runtimeOnly(" org.postgresql:r2dbc-postgresql" )
16
25
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" )
25
26
}
0 commit comments