Skip to content

Commit 9569c07

Browse files
committed
Add JUnit BOM and junit-platform-launcher
1 parent 3a0060b commit 9569c07

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

build.gradle.kts

+2
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,10 @@ subprojects {
7171
implementation(catalog.doma.slf4j)
7272
runtimeOnly(catalog.logback.classic)
7373
runtimeOnly(catalog.jdbc.h2)
74+
testImplementation(platform(catalog.junit.bom))
7475
testImplementation(catalog.junit.jupiter.api)
7576
testRuntimeOnly(catalog.junit.jupiter.engine)
77+
testRuntimeOnly(catalog.junit.platform.launcher)
7678
}
7779

7880
eclipse {

common-test/build.gradle.kts

+1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ plugins {
44

55
dependencies {
66
implementation(project(":common"))
7+
implementation(platform(libs.junit.bom))
78
implementation(libs.junit.jupiter.api)
89
}

gradle/libs.versions.toml

+4-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ jdbc-postgresql = { module = "org.postgresql:postgresql", version = "42.7.5" }
1212

1313
logback-classic = { module = "ch.qos.logback:logback-classic", version = "1.5.16" }
1414

15-
junit-jupiter-api = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "junit" }
16-
junit-jupiter-engine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "junit" }
15+
junit-bom = { module = "org.junit:junit-bom", version.ref = "junit" }
16+
junit-jupiter-api = { module = "org.junit.jupiter:junit-jupiter-api" }
17+
junit-jupiter-engine = { module = "org.junit.jupiter:junit-jupiter-engine" }
18+
junit-platform-launcher = { module = "org.junit.platform:c" }
1719

1820
testcontainers-bom = { module = "org.testcontainers:testcontainers-bom", version = "1.20.5" }
1921
testcontainers-postgresql = { module = "org.testcontainers:postgresql" }

0 commit comments

Comments
 (0)