From e66486bc8a22c92ad7a21befc452e7786611fdcb Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Mon, 25 Oct 2021 22:29:10 +0000 Subject: 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 --- poi-excelant/build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'poi-excelant') 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 ] ) { -- cgit v1.2.3