From 73c4de16e456ed48aa5914a1d1b0d8ea980f06ea Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Tue, 24 Jun 2025 13:51:52 +0000 Subject: [PATCH] try to tidy up jupiter dependency by using the junit-bom git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1926702 13f79535-47bb-0310-9956-ffa450edef68 --- build.gradle | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 4abebdb9b5..40d6b9edc3 100644 --- a/build.gradle +++ b/build.gradle @@ -171,8 +171,9 @@ subprojects { } dependencies { - testImplementation "org.junit.jupiter:junit-jupiter:${junitVersion}" - testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.13.1' + testImplementation platform("org.junit:junit-bom:${junitVersion}") + testImplementation 'org.junit.jupiter:junit-jupiter' + testRuntimeOnly 'org.junit.platform:junit-platform-launcher' testImplementation "org.mockito:mockito-core:${mockitoVersion}" testImplementation "org.hamcrest:hamcrest:${hamcrestVersion}" testImplementation "org.apache.logging.log4j:log4j-core:${log4jVersion}"