Skip to content

Commit d5ef5e9

Browse files
committed
Update spring-boot-buildpack-platform to use docker-test plugin
See gh-41228
1 parent 6fbf08f commit d5ef5e9

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/build.gradle

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ plugins {
22
id "java-library"
33
id "org.springframework.boot.conventions"
44
id "org.springframework.boot.deployed"
5+
id "org.springframework.boot.docker-test"
56
}
67

78
description = "Spring Boot Buildpack Platform"
@@ -42,11 +43,15 @@ dependencies {
4243
api("org.apache.httpcomponents.client5:httpclient5")
4344
api("org.springframework:spring-core")
4445
api("org.tomlj:tomlj:1.0.0")
45-
46+
47+
dockerTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
48+
dockerTestImplementation("org.junit.jupiter:junit-jupiter")
49+
50+
dockerTestRuntimeOnly("org.testcontainers:testcontainers")
51+
4652
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
4753
testImplementation("com.jayway.jsonpath:json-path")
4854
testImplementation("org.assertj:assertj-core")
49-
testImplementation("org.testcontainers:testcontainers")
5055
testImplementation("org.hamcrest:hamcrest")
5156
testImplementation("org.junit.jupiter:junit-jupiter")
5257
testImplementation("org.mockito:mockito-core")

0 commit comments

Comments
 (0)