aboutsummaryrefslogtreecommitdiffstats
path: root/poi-excelant/build.gradle
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2021-10-25 22:29:10 +0000
committerPJ Fanning <fanningpj@apache.org>2021-10-25 22:29:10 +0000
commite66486bc8a22c92ad7a21befc452e7786611fdcb (patch)
tree775758e3ca319eece6f6c1851de745c1b18a1660 /poi-excelant/build.gradle
parenta5325cb11240c799f4f8f5d280635b8f60aa850c (diff)
downloadpoi-e66486bc8a22c92ad7a21befc452e7786611fdcb.tar.gz
poi-e66486bc8a22c92ad7a21befc452e7786611fdcb.zip
try to add LICENSE and NOTICE to javadoc jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894564 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-excelant/build.gradle')
-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 daa7c0bbc0..1de82e2cd6 100644
--- a/poi-excelant/build.gradle
+++ b/poi-excelant/build.gradle
@@ -120,6 +120,13 @@ jar {
}
}
+javadocJar {
+ 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 ] ) {