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",
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',
<dependency prefix="main.log4j-core" artifact="org.apache.logging.log4j:log4j-core:2.20.0" usage="main-tests"/>
<dependency prefix="main.commons-logging" artifact="commons-logging:commons-logging:1.2" usage="main-tests"/>
- <dependency prefix="main.ant" artifact="org.apache.ant:ant:1.10.12" usage="excelant"/>
- <dependency prefix="main.antlauncher" artifact="org.apache.ant:ant-launcher:1.10.12" usage="excelant"/>
+ <dependency prefix="main.ant" artifact="org.apache.ant:ant:1.10.13" usage="excelant"/>
+ <dependency prefix="main.antlauncher" artifact="org.apache.ant:ant-launcher:1.10.13" usage="excelant"/>
<!-- xml signature libs - not part of the distribution -->
<dependency prefix="dsig.xmlsec" artifact="org.apache.santuario:xmlsec:3.0.2" usage="ooxml-provided"/>
classpath = sourceSets.main.runtimeClasspath
}
task runScript(type: JavaExec) {
- main = "SpreadSheetDemo"
+ mainClass = "SpreadSheetDemo"
args = ["../../../test-data/spreadsheet/Simple.xls"]
}
defaultTasks 'runScript'
}
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')
}
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'
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}"