]> source.dussan.org Git - poi.git/commitdiff
Keep junit-versions in sync between Ant and Gradle
authorDominik Stadler <centic@apache.org>
Tue, 2 Nov 2021 13:18:20 +0000 (13:18 +0000)
committerDominik Stadler <centic@apache.org>
Tue, 2 Nov 2021 13:18:20 +0000 (13:18 +0000)
Also remove outdated versions of junit 5 jars
This breaks CI builds in strange ways otherwise

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894678 13f79535-47bb-0310-9956-ffa450edef68

build.xml

index b83c0acba2dadb029a9b7e752fee7f0a873b4550..0f56642d93edb52118fd4d4c79ae4825582517a7 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -275,9 +275,9 @@ under the License.
     <dependency prefix="main.junit-params" artifact="org.junit.jupiter:junit-jupiter-params:5.8.1" 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.0" usage="main-tests"/>
-    <dependency prefix="main.junit-pcommons" artifact="org.junit.platform:junit-platform-commons:1.7.1" usage="main-tests"/>
-    <dependency prefix="main.junit-pengine" artifact="org.junit.platform:junit-platform-engine:1.7.1" usage="main-tests"/>
-    <dependency prefix="main.junit-plauncher" artifact="org.junit.platform:junit-platform-launcher:1.7.1" usage="main-tests"/>
+    <dependency prefix="main.junit-pcommons" artifact="org.junit.platform:junit-platform-commons:1.8.1" usage="main-tests"/>
+    <dependency prefix="main.junit-pengine" artifact="org.junit.platform:junit-platform-engine:1.8.1" usage="main-tests"/>
+    <dependency prefix="main.junit-plauncher" artifact="org.junit.platform:junit-platform-launcher:1.8.1" usage="main-tests"/>
 
 
     <dependency prefix="main.jmh" artifact="org.openjdk.jmh:jmh-core:1.33" usage="main-tests"/>
@@ -678,7 +678,10 @@ under the License.
                 <include name="hamcrest-core*"/>
                 <include name="junit-4*.jar"/>
                 <include name="*slf4j*.jar"/>
-            </fileset>
+                               <include name="junit-jupiter-*-5.8.0.jar"/>
+                               <include name="junit-jupiter-*-5.7.*.jar"/>
+                               <include name="junit-platform-*-1.7.*.jar"/>
+                       </fileset>
             <fileset dir="${basedir}/lib/ooxml">
                 <include name="xmlbeans-3*.jar"/>
                 <include name="xmlbeans-4*.jar"/>