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) {