]> source.dussan.org Git - poi.git/commitdiff
change param name
authorPJ Fanning <fanningpj@apache.org>
Fri, 29 Sep 2023 01:16:35 +0000 (01:16 +0000)
committerPJ Fanning <fanningpj@apache.org>
Fri, 29 Sep 2023 01:16:35 +0000 (01:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912589 13f79535-47bb-0310-9956-ffa450edef68

build.gradle

index 40a3f10ba6969e3f1578074d97f9278fb471f988..7065a17502eca6f7f6c3910e980e4de06a7ad08c 100644 (file)
@@ -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