From 700334b0f11d0f53deaa3a441ff63875936e484d Mon Sep 17 00:00:00 2001 From: Andreas Beeker Date: Mon, 9 Aug 2021 22:32:33 +0000 Subject: [PATCH] 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 --- build.gradle | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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 -- 2.39.5