diff options
author | PJ Fanning <fanningpj@apache.org> | 2021-10-26 00:37:27 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2021-10-26 00:37:27 +0000 |
commit | a826e8e32d58fbdb6af18116136cff3d3df76bc0 (patch) | |
tree | 22e4d8611fbf190d5dd0c00b9bb07ae8afb8ebaa /poi-scratchpad/build.gradle | |
parent | 90b8a0c36d35e5cba625b4b22c63591ccc92129d (diff) | |
download | poi-a826e8e32d58fbdb6af18116136cff3d3df76bc0.tar.gz poi-a826e8e32d58fbdb6af18116136cff3d3df76bc0.zip |
try to add LICENSE and NOTICE to sources jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894566 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-scratchpad/build.gradle')
-rw-r--r-- | poi-scratchpad/build.gradle | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/poi-scratchpad/build.gradle b/poi-scratchpad/build.gradle index 6b7781df5b..3927b62c8a 100644 --- a/poi-scratchpad/build.gradle +++ b/poi-scratchpad/build.gradle @@ -114,6 +114,13 @@ jar { } } +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) { |