Skip to content

Commit 311ac6c

Browse files
Use JUnit BOM and add junit-platform-launcher to fix test failures
Co-Authored-By: Toshihiro Nakamura <[email protected]>
1 parent a253371 commit 311ac6c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

build.gradle.kts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,11 @@ dependencies {
3434
implementation("org.seasar.doma:doma-slf4j:$domaVersion")
3535
runtimeOnly("ch.qos.logback:logback-classic:1.5.18")
3636
runtimeOnly("com.h2database:h2:1.4.200")
37-
testImplementation("org.junit.jupiter:junit-jupiter-api:5.12.2")
38-
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.12.2")
37+
// Use JUnit BOM for version management
38+
testImplementation(platform("org.junit:junit-bom:5.12.2"))
39+
testImplementation("org.junit.jupiter:junit-jupiter-api")
40+
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
41+
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
3942
}
4043

4144
repositories {

0 commit comments

Comments
 (0)