aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2023-09-29 01:16:35 +0000
committerPJ Fanning <fanningpj@apache.org>2023-09-29 01:16:35 +0000
commit8e20b5e9cd4bf3f6c6db16e6acc84339c64e0092 (patch)
treecbc5556530048a960862b3a66723a987c781e35f /build.gradle
parent6c91c5f80797e230838dcaa7ce641f7a73af44fc (diff)
downloadpoi-8e20b5e9cd4bf3f6c6db16e6acc84339c64e0092.tar.gz
poi-8e20b5e9cd4bf3f6c6db16e6acc84339c64e0092.zip
change param name
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912589 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle6
1 files changed, 3 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle
index 40a3f10ba6..7065a17502 100644
--- a/build.gradle
+++ b/build.gradle
@@ -53,7 +53,7 @@ if (project.hasProperty('enableSonar')) {
}
boolean isCIBuild = false
-String date = new Date().format('yyyyMMdd')
+String dateSuffix = new Date().format('yyyyMMdd')
// For help converting an Ant build to a Gradle build, see
// https://docs.gradle.org/current/userguide/ant.html
@@ -813,8 +813,8 @@ var srcDep = [
':poi-ooxml-lite:generateModuleInfo'
]
-srcDistTar.setArchiveFileName("poi-src-${subprojects[0].version}-${date}.tgz")
-srcDistZip.setArchiveFileName("poi-src-${subprojects[0].version}-${date}.zip")
+srcDistTar.setArchiveFileName("poi-src-${subprojects[0].version}-${dateSuffix}.tgz")
+srcDistZip.setArchiveFileName("poi-src-${subprojects[0].version}-${dateSuffix}.zip")
srcDistTar.dependsOn srcDep
srcDistZip.dependsOn srcDep
soLinkCheck.dependsOn srcDep