diff options
author | PJ Fanning <fanningpj@apache.org> | 2021-10-26 00:38:50 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2021-10-26 00:38:50 +0000 |
commit | 567b8fde923d7821a860f878a75e55cf6ce7360d (patch) | |
tree | 4b5a5cff48449b18bd5c4b7b862e708a5e59a7d3 | |
parent | a826e8e32d58fbdb6af18116136cff3d3df76bc0 (diff) | |
download | poi-567b8fde923d7821a860f878a75e55cf6ce7360d.tar.gz poi-567b8fde923d7821a860f878a75e55cf6ce7360d.zip |
try to add LICENSE and NOTICE to sources jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894567 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | poi-ooxml-lite/build.gradle | 7 | ||||
-rw-r--r-- | poi-scratchpad/build.gradle | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/poi-ooxml-lite/build.gradle b/poi-ooxml-lite/build.gradle index 6138200762..1d2dd79efe 100644 --- a/poi-ooxml-lite/build.gradle +++ b/poi-ooxml-lite/build.gradle @@ -148,6 +148,13 @@ jar { } } +sourcesJar { + metaInf { + from("$projectDir/../legal/LICENSE") + from("$projectDir/../legal/NOTICE") + } +} + spotbugsTest.enabled = false spotbugsMain.enabled = false javadoc.enabled = false diff --git a/poi-scratchpad/build.gradle b/poi-scratchpad/build.gradle index 3927b62c8a..6b7781df5b 100644 --- a/poi-scratchpad/build.gradle +++ b/poi-scratchpad/build.gradle @@ -114,13 +114,6 @@ 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) { |