Skip to content

Commit c211515

Browse files
committed
Use junit-bom
1 parent 3231086 commit c211515

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

build.gradle.kts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,14 @@ repositories {
2222
mavenCentral()
2323
}
2424

25-
val junitJupiterVersion = "5.13.4"
26-
val junitPlatformVersion = "1.13.4"
27-
2825
dependencies {
29-
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitJupiterVersion}")
30-
testImplementation("org.junit.jupiter:junit-jupiter-params:${junitJupiterVersion}")
26+
testImplementation(platform("org.junit:junit-bom:5.13.4"))
27+
28+
testImplementation("org.junit.jupiter:junit-jupiter-api")
29+
testImplementation("org.junit.jupiter:junit-jupiter-params")
3130

32-
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitJupiterVersion}")
33-
testRuntimeOnly("org.junit.platform:junit-platform-launcher:${junitPlatformVersion}")
31+
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
32+
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
3433
}
3534

3635
publishing {

0 commit comments

Comments
 (0)