aboutsummaryrefslogtreecommitdiffstats
path: root/poi-excelant
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2021-10-25 22:50:03 +0000
committerPJ Fanning <fanningpj@apache.org>2021-10-25 22:50:03 +0000
commit90b8a0c36d35e5cba625b4b22c63591ccc92129d (patch)
tree8a59d1fb7a695a2a73bbe430f46af50aa9db9764 /poi-excelant
parente66486bc8a22c92ad7a21befc452e7786611fdcb (diff)
downloadpoi-90b8a0c36d35e5cba625b4b22c63591ccc92129d.tar.gz
poi-90b8a0c36d35e5cba625b4b22c63591ccc92129d.zip
try to add LICENSE and NOTICE to sources jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894565 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-excelant')
-rw-r--r--poi-excelant/build.gradle7
1 files changed, 7 insertions, 0 deletions
diff --git a/poi-excelant/build.gradle b/poi-excelant/build.gradle
index 1de82e2cd6..3838b58e8d 100644
--- a/poi-excelant/build.gradle
+++ b/poi-excelant/build.gradle
@@ -127,6 +127,13 @@ javadocJar {
}
}
+sourcesJar {
+ metaInf {
+ from("$projectDir/../legal/LICENSE")
+ from("$projectDir/../legal/NOTICE")
+ }
+}
+
// Create a separate jar for test-code to depend on it in other projects
// See http://stackoverflow.com/questions/5144325/gradle-test-dependency
task testJar(type: Jar, dependsOn: [ testClasses, cacheTest9 ] ) {