]> source.dussan.org Git - poi.git/commitdiff
move dist files from gradles default dist directory to pois dist dir
authorAndreas Beeker <kiwiwings@apache.org>
Mon, 9 Aug 2021 22:32:33 +0000 (22:32 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Mon, 9 Aug 2021 22:32:33 +0000 (22:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892142 13f79535-47bb-0310-9956-ffa450edef68

build.gradle

index 165c1fe420a4fd6bc26e9baa5484604b0fed967c..c64b3b0ba3ea27dafa58b2ea42bbb559b0f745f5 100644 (file)
@@ -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