From: Dominik Stadler Date: Tue, 1 Aug 2023 08:24:54 +0000 (+0000) Subject: Update Apache Ant to 1.10.13 and use newer Gradle syntax X-Git-Tag: REL_5_2_4~110 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8e2b749cf607dc1a4f92c305abec3056835e5e72;p=poi.git Update Apache Ant to 1.10.13 and use newer Gradle syntax git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911383 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build.gradle b/build.gradle index dbca0f60c2..cd278a919f 100644 --- a/build.gradle +++ b/build.gradle @@ -67,7 +67,7 @@ configurations { dependencies { antLibs("org.junit.jupiter:junit-jupiter:5.10.0") - antLibs("org.apache.ant:ant-junitlauncher:1.10.12") + antLibs("org.apache.ant:ant-junitlauncher:1.10.13") } ant.taskdef(name: "junit", @@ -366,7 +366,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.7.1' + // testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.10.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 12f8d61914..319913fed5 100644 --- a/build.xml +++ b/build.xml @@ -291,8 +291,8 @@ under the License. - - + + diff --git a/poi-examples/src/main/groovy/build.gradle b/poi-examples/src/main/groovy/build.gradle index 95121081d8..cc8e6f738f 100644 --- a/poi-examples/src/main/groovy/build.gradle +++ b/poi-examples/src/main/groovy/build.gradle @@ -37,7 +37,7 @@ tasks.withType(JavaExec) { classpath = sourceSets.main.runtimeClasspath } task runScript(type: JavaExec) { - main = "SpreadSheetDemo" + mainClass = "SpreadSheetDemo" args = ["../../../test-data/spreadsheet/Simple.xls"] } defaultTasks 'runScript' diff --git a/poi-excelant/build.gradle b/poi-excelant/build.gradle index 9c14fe26a3..3bfdf08da5 100644 --- a/poi-excelant/build.gradle +++ b/poi-excelant/build.gradle @@ -31,7 +31,7 @@ sourceSets { } dependencies { - api 'org.apache.ant:ant:1.10.12' + api 'org.apache.ant:ant:1.10.13' api project(':poi-ooxml') compileOnly project(path: ':poi-ooxml', configuration: 'archives') diff --git a/poi-integration/build.gradle b/poi-integration/build.gradle index 3e631a2ff9..b75ec95f17 100644 --- a/poi-integration/build.gradle +++ b/poi-integration/build.gradle @@ -39,7 +39,7 @@ sourceSets { } dependencies { - testImplementation 'org.apache.ant:ant:1.10.12' + testImplementation 'org.apache.ant:ant:1.10.13' testImplementation 'org.apache.commons:commons-collections4:4.4' testImplementation 'com.google.guava:guava:32.1.1-jre' diff --git a/poi/build.gradle b/poi/build.gradle index bf54b17b0a..b454a1d1eb 100644 --- a/poi/build.gradle +++ b/poi/build.gradle @@ -44,7 +44,7 @@ dependencies { api "org.apache.logging.log4j:log4j-api:${log4jVersion}" testImplementation 'org.reflections:reflections:0.10.2' - testImplementation 'org.apache.ant:ant:1.10.12' + testImplementation 'org.apache.ant:ant:1.10.13' testImplementation "org.junit.jupiter:junit-jupiter-api:${junitVersion}" testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"