summaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2021-08-09 22:32:33 +0000
committerAndreas Beeker <kiwiwings@apache.org>2021-08-09 22:32:33 +0000
commit700334b0f11d0f53deaa3a441ff63875936e484d (patch)
tree419926dae53e3ee06b117a9f853ead8effc7eb97 /build.gradle
parent7bcf6d5a6d1ae77aef4e3f9ff6d6b4d23fb6a8b5 (diff)
downloadpoi-700334b0f11d0f53deaa3a441ff63875936e484d.tar.gz
poi-700334b0f11d0f53deaa3a441ff63875936e484d.zip
move dist files from gradles default dist directory to pois dist dir
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892142 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle16
1 files changed, 15 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 165c1fe420..c64b3b0ba3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -651,4 +651,18 @@ var srcDep = [
srcDistTar.dependsOn srcDep
srcDistZip.dependsOn srcDep
-rat.dependsOn srcDep \ No newline at end of file
+rat.dependsOn srcDep
+
+task fixDistDir {
+ doLast {
+ ant.mkdir(dir: 'build/dist')
+ ant.move(todir: 'build/dist') {
+ fileset(dir: 'build/distributions', includes: '*')
+ }
+ }
+}
+
+binDistZip.finalizedBy fixDistDir
+binDistTar.finalizedBy fixDistDir
+srcDistZip.finalizedBy fixDistDir
+srcDistTar.finalizedBy fixDistDir