@@ -2,6 +2,7 @@ plugins {
2
2
id " java-library"
3
3
id " org.springframework.boot.conventions"
4
4
id " org.springframework.boot.deployed"
5
+ id " org.springframework.boot.docker-test"
5
6
id " org.springframework.boot.optional-dependencies"
6
7
}
7
8
@@ -11,6 +12,22 @@ dependencies {
11
12
api(project(" :spring-boot-project:spring-boot" ))
12
13
api(project(" :spring-boot-project:spring-boot-test" ))
13
14
api(project(" :spring-boot-project:spring-boot-autoconfigure" ))
15
+
16
+ dockerTestImplementation(project(" :spring-boot-project:spring-boot-testcontainers" ))
17
+ dockerTestImplementation(project(" :spring-boot-project:spring-boot-tools:spring-boot-test-support" ))
18
+ dockerTestImplementation(" io.projectreactor:reactor-test" )
19
+ dockerTestImplementation(" org.assertj:assertj-core" )
20
+ dockerTestImplementation(" org.junit.jupiter:junit-jupiter" )
21
+ dockerTestImplementation(" org.testcontainers:cassandra" )
22
+ dockerTestImplementation(" org.testcontainers:couchbase" )
23
+ dockerTestImplementation(" org.testcontainers:elasticsearch" )
24
+ dockerTestImplementation(" org.testcontainers:junit-jupiter" )
25
+ dockerTestImplementation(" org.testcontainers:mongodb" )
26
+ dockerTestImplementation(" org.testcontainers:neo4j" )
27
+ dockerTestImplementation(" org.testcontainers:testcontainers" )
28
+
29
+ dockerTestRuntimeOnly(" io.lettuce:lettuce-core" )
30
+ dockerTestRuntimeOnly(" org.springframework.data:spring-data-redis" )
14
31
15
32
optional(" jakarta.json.bind:jakarta.json.bind-api" )
16
33
optional(" jakarta.persistence:jakarta.persistence-api" )
@@ -62,13 +79,12 @@ dependencies {
62
79
63
80
testImplementation(project(" :spring-boot-project:spring-boot-actuator" ))
64
81
testImplementation(project(" :spring-boot-project:spring-boot-actuator-autoconfigure" ))
65
- testImplementation(project(" :spring-boot-project:spring-boot-tools:spring-boot-test-support" ))
66
82
testImplementation(project(" :spring-boot-project:spring-boot-testcontainers" ))
83
+ testImplementation(project(" :spring-boot-project:spring-boot-tools:spring-boot-test-support" ))
67
84
testImplementation(" ch.qos.logback:logback-classic" )
68
85
testImplementation(" com.fasterxml.jackson.module:jackson-module-parameter-names" )
69
86
testImplementation(" com.h2database:h2" )
70
87
testImplementation(" com.unboundid:unboundid-ldapsdk" )
71
- testImplementation(" io.lettuce:lettuce-core" )
72
88
testImplementation(" io.micrometer:micrometer-registry-prometheus" )
73
89
testImplementation(" io.projectreactor.netty:reactor-netty-http" )
74
90
testImplementation(" io.projectreactor:reactor-core" )
@@ -96,13 +112,6 @@ dependencies {
96
112
testImplementation(" org.springframework:spring-core-test" )
97
113
testImplementation(" org.springframework.hateoas:spring-hateoas" )
98
114
testImplementation(" org.springframework.plugin:spring-plugin-core" )
99
- testImplementation(" org.testcontainers:cassandra" )
100
- testImplementation(" org.testcontainers:couchbase" )
101
- testImplementation(" org.testcontainers:elasticsearch" )
102
- testImplementation(" org.testcontainers:junit-jupiter" )
103
- testImplementation(" org.testcontainers:mongodb" )
104
- testImplementation(" org.testcontainers:neo4j" )
105
- testImplementation(" org.testcontainers:testcontainers" )
106
115
testImplementation(" org.thymeleaf:thymeleaf" )
107
116
}
108
117
0 commit comments