aboutsummaryrefslogtreecommitdiffstats
path: root/poi-examples/src/main/groovy/build.gradle
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2024-11-30 09:29:43 +0000
committerDominik Stadler <centic@apache.org>2024-11-30 09:29:43 +0000
commit33f944f922df09209757ccbf731f609814c4da95 (patch)
treea70d0a16723938529854b498f04d98068ed9f9d9 /poi-examples/src/main/groovy/build.gradle
parent3e0306d2533406e77cf2a38f8706b9a646c5be8d (diff)
downloadpoi-33f944f922df09209757ccbf731f609814c4da95.tar.gz
poi-33f944f922df09209757ccbf731f609814c4da95.zip
Groovy script example: Use latest POI and fix to run again
Fix path to test-file Fix changed constants Add settings.gradle Adjust Rat exclusions git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922229 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-examples/src/main/groovy/build.gradle')
-rw-r--r--poi-examples/src/main/groovy/build.gradle9
1 files changed, 5 insertions, 4 deletions
diff --git a/poi-examples/src/main/groovy/build.gradle b/poi-examples/src/main/groovy/build.gradle
index 653471e501..784d5c1378 100644
--- a/poi-examples/src/main/groovy/build.gradle
+++ b/poi-examples/src/main/groovy/build.gradle
@@ -21,10 +21,11 @@ apply plugin: 'groovy'
repositories {
mavenCentral()
}
+
dependencies {
- compile 'org.codehaus.groovy:groovy-all:2.4.21'
- compile 'org.apache.poi:poi:5.2.1'
- compile 'org.apache.poi:poi-ooxml:5.2.1'
+ implementation 'org.codehaus.groovy:groovy-all:2.4.21'
+ implementation 'org.apache.poi:poi:5.3.0'
+ implementation 'org.apache.poi:poi-ooxml:5.3.0'
}
// Our files are in the current directory
@@ -38,6 +39,6 @@ tasks.withType(JavaExec) {
}
task runScript(type: JavaExec) {
mainClass = "SpreadSheetDemo"
- args = ["../../../test-data/spreadsheet/Simple.xls"]
+ args = ["../../../../test-data/spreadsheet/Simple.xls"]
}
defaultTasks 'runScript'