@@ -3,6 +3,7 @@ plugins {
3
3
id " maven-publish"
4
4
id " org.asciidoctor.jvm.convert"
5
5
id " org.springframework.boot.conventions"
6
+ id " org.springframework.boot.docker-test"
6
7
id " org.springframework.boot.maven-repository"
7
8
id " org.springframework.boot.optional-dependencies"
8
9
}
@@ -78,6 +79,14 @@ components.java.addVariantsFromConfiguration(configurations.modernGradleRuntimeE
78
79
dependencies {
79
80
asciidoctorExtensions(" io.spring.asciidoctor:spring-asciidoctor-extensions-section-ids" )
80
81
82
+ dockerTestImplementation(project(" :spring-boot-project:spring-boot-tools:spring-boot-gradle-test-support" ))
83
+ dockerTestImplementation(project(" :spring-boot-project:spring-boot-tools:spring-boot-test-support" ))
84
+ dockerTestImplementation(gradleTestKit())
85
+ dockerTestImplementation(" org.assertj:assertj-core" )
86
+ dockerTestImplementation(" org.junit.jupiter:junit-jupiter" )
87
+ dockerTestImplementation(" org.testcontainers:junit-jupiter" )
88
+ dockerTestImplementation(" org.testcontainers:testcontainers" )
89
+
81
90
implementation(project(" :spring-boot-project:spring-boot-tools:spring-boot-buildpack-platform" ))
82
91
implementation(project(" :spring-boot-project:spring-boot-tools:spring-boot-loader-tools" ))
83
92
implementation(" io.spring.gradle:dependency-management-plugin" )
@@ -89,14 +98,12 @@ dependencies {
89
98
exclude(group : " commons-logging" , module : " commons-logging" )
90
99
}
91
100
92
- testImplementation(project(" :spring-boot-project:spring-boot-tools:spring-boot-test-support" ))
93
101
testImplementation(project(" :spring-boot-project:spring-boot-tools:spring-boot-gradle-test-support" ))
102
+ testImplementation(project(" :spring-boot-project:spring-boot-tools:spring-boot-test-support" ))
94
103
testImplementation(" com.tngtech.archunit:archunit-junit5:0.22.0" )
95
104
testImplementation(" org.assertj:assertj-core" )
96
105
testImplementation(" org.junit.jupiter:junit-jupiter" )
97
106
testImplementation(" org.mockito:mockito-core" )
98
- testImplementation(" org.testcontainers:junit-jupiter" )
99
- testImplementation(" org.testcontainers:testcontainers" )
100
107
}
101
108
102
109
gradlePlugin {
0 commit comments