diff --git a/build.gradle b/build.gradle index 7cfa35eed3..3cd817b4d1 100644 --- a/build.gradle +++ b/build.gradle @@ -67,7 +67,7 @@ configurations { } dependencies { - antLibs("org.junit.jupiter:junit-jupiter:5.11.4") + antLibs("org.junit.jupiter:junit-jupiter:5.12.0") antLibs("org.apache.ant:ant-junitlauncher:1.10.15") } @@ -112,7 +112,7 @@ subprojects { commonsCompressVersion = '1.27.1' commonsIoVersion = '2.18.0' commonsMathVersion = '3.6.1' - junitVersion = '5.11.4' + junitVersion = '5.12.0' log4jVersion = '2.24.3' mockitoVersion = '4.11.0' hamcrestVersion = '3.0' @@ -172,6 +172,7 @@ subprojects { dependencies { testImplementation "org.junit.jupiter:junit-jupiter:${junitVersion}" + testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.12.0' testImplementation "org.mockito:mockito-core:${mockitoVersion}" testImplementation "org.hamcrest:hamcrest:${hamcrestVersion}" testImplementation "org.apache.logging.log4j:log4j-core:${log4jVersion}" @@ -421,7 +422,7 @@ subprojects { jvmArgs += [ // 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 - // testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.0' + // testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.12.0' // 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=ALL-UNNAMED', diff --git a/build.xml b/build.xml index 842f294eaf..10ae4a9cc0 100644 --- a/build.xml +++ b/build.xml @@ -270,14 +270,14 @@ under the License. - - - + + + - - - + + +