File tree Expand file tree Collapse file tree 4 files changed +15
-3
lines changed
Expand file tree Collapse file tree 4 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,8 @@ subprojects {
105105 }
106106 }
107107
108- tasks. withType(Test ). all {
108+ tasks. withType(Test ). configureEach {
109+ useJUnitPlatform()
109110 reports {
110111 junitXml. outputPerTestCase = true
111112 }
@@ -132,6 +133,10 @@ subprojects {
132133
133134 dependencies {
134135 testImplementation ' ch.qos.logback:logback-classic:1.3.14'
136+ testImplementation(platform(" org.junit:junit-bom:5.13.0" ))
137+ testImplementation(project(" :junit-jupiter" ))
138+ testRuntimeOnly(" org.junit.jupiter:junit-jupiter-engine" )
139+ testRuntimeOnly(" org.junit.platform:junit-platform-launcher" )
135140 }
136141
137142 checkstyle {
Original file line number Diff line number Diff line change 11dependencies {
22 api project(' :jdbc' )
33
4+ api platform(" org.junit:junit-bom:5.13.0" )
5+ api ' org.junit.jupiter:junit-jupiter'
6+
47 api ' com.google.guava:guava:33.3.1-jre'
58 api ' org.apache.commons:commons-lang3:3.17.0'
69 api ' com.zaxxer:HikariCP-java6:2.3.13'
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ description = "Testcontainers :: JUnit Jupiter Extension"
22
33dependencies {
44 api project(' :testcontainers' )
5- implementation platform(' org.junit:junit-bom:5.13.0' )
6- implementation ' org.junit.jupiter:junit-jupiter-api '
5+ api platform(' org.junit:junit-bom:5.13.0' )
6+ api ' org.junit.jupiter:junit-jupiter'
77
88 testImplementation project(' :mysql' )
99 testImplementation project(' :postgresql' )
@@ -18,6 +18,8 @@ dependencies {
1818
1919 testRuntimeOnly ' org.postgresql:postgresql:42.7.4'
2020 testRuntimeOnly ' mysql:mysql-connector-java:8.0.33'
21+ testRuntimeOnly " org.junit.jupiter:junit-jupiter-engine"
22+ testRuntimeOnly " org.junit.platform:junit-platform-launcher"
2123}
2224
2325test {
Original file line number Diff line number Diff line change @@ -14,4 +14,6 @@ dependencies {
1414
1515 testFixturesImplementation ' io.projectreactor:reactor-core:3.6.10'
1616 testFixturesImplementation ' org.assertj:assertj-core:3.26.3'
17+ testFixturesImplementation platform(" org.junit:junit-bom:5.13.0" )
18+ testFixturesImplementation ' org.junit.jupiter:junit-jupiter'
1719}
You can’t perform that action at this time.
0 commit comments