Skip to content

Commit ba053db

Browse files
committed
Update spring-boot-actuator to use docker-test plugin
See gh-41228
1 parent 9f166f2 commit ba053db

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

spring-boot-project/spring-boot-actuator/build.gradle

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,25 @@ plugins {
33
id "org.springframework.boot.conventions"
44
id "org.springframework.boot.configuration-properties"
55
id "org.springframework.boot.optional-dependencies"
6+
id "org.springframework.boot.docker-test"
67
id "org.springframework.boot.deployed"
78
}
89

910
description = "Spring Boot Actuator"
1011

1112
dependencies {
1213
api(project(":spring-boot-project:spring-boot"))
14+
15+
dockerTestImplementation(project(":spring-boot-project:spring-boot-autoconfigure"))
16+
dockerTestImplementation(project(":spring-boot-project:spring-boot-test"))
17+
dockerTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
18+
dockerTestImplementation("org.assertj:assertj-core")
19+
dockerTestImplementation("org.junit.jupiter:junit-jupiter")
20+
dockerTestImplementation("org.springframework:spring-test")
21+
dockerTestImplementation("org.testcontainers:junit-jupiter")
22+
dockerTestImplementation("org.testcontainers:mongodb")
23+
dockerTestImplementation("org.testcontainers:neo4j")
24+
dockerTestImplementation("org.testcontainers:testcontainers")
1325

1426
optional("com.datastax.oss:java-driver-core") {
1527
exclude group: "org.slf4j", module: "jcl-over-slf4j"
@@ -98,10 +110,6 @@ dependencies {
98110
testImplementation("org.skyscreamer:jsonassert")
99111
testImplementation("org.springframework:spring-test")
100112
testImplementation("com.squareup.okhttp3:mockwebserver")
101-
testImplementation("org.testcontainers:junit-jupiter")
102-
testImplementation("org.testcontainers:mongodb")
103-
testImplementation("org.testcontainers:neo4j")
104-
testImplementation("org.testcontainers:testcontainers")
105113

106114
testRuntimeOnly("ch.qos.logback:logback-classic")
107115
testRuntimeOnly("io.projectreactor.netty:reactor-netty-http")

0 commit comments

Comments
 (0)