File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-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 @@ -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 {
You can’t perform that action at this time.
0 commit comments