]> source.dussan.org Git - poi.git/commitdiff
Add a target to extract all third-party libraries into directory build/runtime
authorDominik Stadler <centic@apache.org>
Thu, 24 Mar 2022 04:42:30 +0000 (04:42 +0000)
committerDominik Stadler <centic@apache.org>
Thu, 24 Mar 2022 04:42:30 +0000 (04:42 +0000)
This is used when testing with latest Apache POI locally, e.g.
when running mass-regression-testing

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899161 13f79535-47bb-0310-9956-ffa450edef68

build.gradle

index b3fe4ce0b3694dabc8df397ec734b648eacb0106..e659737efd4de27799f3f3f6e9f8cbe1c5e92707 100644 (file)
@@ -236,6 +236,14 @@ subprojects {
                 source = "1.8"
             }
         }
+
+
+        // helper-target to get a directory with all third-party libraries
+        // this is used for mass-regression-testing
+        task getDeps(type: Copy) {
+            from sourceSets.main.runtimeClasspath
+            into 'build/runtime/'
+        }
     }
 
     tasks.withType(Jar) {