upgrade junit

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913643 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2023-11-07 08:54:13 +00:00
parent 5533d35cef
commit 69be873ff3
2 changed files with 10 additions and 10 deletions

View File

@ -37,7 +37,7 @@ plugins {
id "com.github.spotbugs" version '5.2.1' id "com.github.spotbugs" version '5.2.1'
id 'de.thetaphi.forbiddenapis' version '3.6' id 'de.thetaphi.forbiddenapis' version '3.6'
id 'org.sonarqube' version '4.0.0.2929' id 'org.sonarqube' version '4.0.0.2929'
id 'org.cyclonedx.bom' version '1.8.0' id 'org.cyclonedx.bom' version '1.8.1'
id 'com.adarshr.test-logger' version '3.2.0' id 'com.adarshr.test-logger' version '3.2.0'
} }
@ -67,7 +67,7 @@ configurations {
} }
dependencies { dependencies {
antLibs("org.junit.jupiter:junit-jupiter:5.10.0") antLibs("org.junit.jupiter:junit-jupiter:5.10.1")
antLibs("org.apache.ant:ant-junitlauncher:1.10.14") antLibs("org.apache.ant:ant-junitlauncher:1.10.14")
} }
@ -123,7 +123,7 @@ subprojects {
commonsCompressVersion = '1.24.0' commonsCompressVersion = '1.24.0'
commonsIoVersion = '2.15.0' commonsIoVersion = '2.15.0'
commonsMathVersion = '3.6.1' commonsMathVersion = '3.6.1'
junitVersion = '5.10.0' junitVersion = '5.10.1'
log4jVersion = '2.21.1' log4jVersion = '2.21.1'
mockitoVersion = '4.11.0' mockitoVersion = '4.11.0'
hamcrestVersion = '2.2' hamcrestVersion = '2.2'
@ -367,7 +367,7 @@ subprojects {
jvmArgs += [ jvmArgs += [
// see https://github.com/java9-modularity/gradle-modules-plugin/issues/97 // see https://github.com/java9-modularity/gradle-modules-plugin/issues/97
// opposed to the recommendation there, it doesn't work to add ... to the dependencies // opposed to the recommendation there, it doesn't work to add ... to the dependencies
// testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.10.0' // testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.10.1'
// gradles gradle-worker.jar is still not a JPMS module and thus runs as unnamed module // gradles gradle-worker.jar is still not a JPMS module and thus runs as unnamed module
'--add-exports','org.junit.platform.commons/org.junit.platform.commons.util=org.apache.poi.poi', '--add-exports','org.junit.platform.commons/org.junit.platform.commons.util=org.apache.poi.poi',
'--add-exports','org.junit.platform.commons/org.junit.platform.commons.util=ALL-UNNAMED', '--add-exports','org.junit.platform.commons/org.junit.platform.commons.util=ALL-UNNAMED',

View File

@ -270,14 +270,14 @@ under the License.
<dependency prefix="main.com.zaxxer" artifact="com.zaxxer:SparseBitSet:1.3" usage="main"/> <dependency prefix="main.com.zaxxer" artifact="com.zaxxer:SparseBitSet:1.3" usage="main"/>
<dependency prefix="main.log4j-api" artifact="org.apache.logging.log4j:log4j-api:2.21.1" usage="main"/> <dependency prefix="main.log4j-api" artifact="org.apache.logging.log4j:log4j-api:2.21.1" usage="main"/>
<dependency prefix="main.junit-api" artifact="org.junit.jupiter:junit-jupiter-api:5.10.0" usage="main-tests"/> <dependency prefix="main.junit-api" artifact="org.junit.jupiter:junit-jupiter-api:5.10.1" usage="main-tests"/>
<dependency prefix="main.junit-jengine" artifact="org.junit.jupiter:junit-jupiter-engine:5.10.0" usage="main-tests"/> <dependency prefix="main.junit-jengine" artifact="org.junit.jupiter:junit-jupiter-engine:5.10.1" usage="main-tests"/>
<dependency prefix="main.junit-params" artifact="org.junit.jupiter:junit-jupiter-params:5.10.0" usage="main-tests"/> <dependency prefix="main.junit-params" artifact="org.junit.jupiter:junit-jupiter-params:5.10.1" usage="main-tests"/>
<dependency prefix="main.junit-opentest4j" artifact="org.opentest4j:opentest4j:1.2.0" usage="main-tests"/> <dependency prefix="main.junit-opentest4j" artifact="org.opentest4j:opentest4j:1.2.0" usage="main-tests"/>
<dependency prefix="main.junit-apiguardian" artifact="org.apiguardian:apiguardian-api:1.1.2" usage="main-tests"/> <dependency prefix="main.junit-apiguardian" artifact="org.apiguardian:apiguardian-api:1.1.2" usage="main-tests"/>
<dependency prefix="main.junit-pcommons" artifact="org.junit.platform:junit-platform-commons:1.10.0" usage="main-tests"/> <dependency prefix="main.junit-pcommons" artifact="org.junit.platform:junit-platform-commons:1.10.1" usage="main-tests"/>
<dependency prefix="main.junit-pengine" artifact="org.junit.platform:junit-platform-engine:1.10.0" usage="main-tests"/> <dependency prefix="main.junit-pengine" artifact="org.junit.platform:junit-platform-engine:1.10.1" usage="main-tests"/>
<dependency prefix="main.junit-plauncher" artifact="org.junit.platform:junit-platform-launcher:1.10.0" usage="main-tests"/> <dependency prefix="main.junit-plauncher" artifact="org.junit.platform:junit-platform-launcher:1.10.1" usage="main-tests"/>
<dependency prefix="main.jmh" artifact="org.openjdk.jmh:jmh-core:1.35" usage="main-tests"/> <dependency prefix="main.jmh" artifact="org.openjdk.jmh:jmh-core:1.35" usage="main-tests"/>