Skip to content

Commit dac7f50

Browse files
committed
chore: configure JUnit5 dependencies
1 parent 786501c commit dac7f50

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)