You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by fa...@apache.org on 2021/10/26 00:37:28 UTC
svn commit: r1894566 - in /poi/trunk: poi-ooxml-lite/build.gradle
poi-scratchpad/build.gradle
Author: fanningpj
Date: Tue Oct 26 00:37:27 2021
New Revision: 1894566
URL: http://svn.apache.org/viewvc?rev=1894566&view=rev
Log:
try to add LICENSE and NOTICE to sources jars
Modified:
poi/trunk/poi-ooxml-lite/build.gradle
poi/trunk/poi-scratchpad/build.gradle
Modified: poi/trunk/poi-ooxml-lite/build.gradle
URL: http://svn.apache.org/viewvc/poi/trunk/poi-ooxml-lite/build.gradle?rev=1894566&r1=1894565&r2=1894566&view=diff
==============================================================================
--- poi/trunk/poi-ooxml-lite/build.gradle (original)
+++ poi/trunk/poi-ooxml-lite/build.gradle Tue Oct 26 00:37:27 2021
@@ -129,8 +129,7 @@ jar {
File missingXsbsFile = file("missing-xsbs.txt")
List xsbs2 = missingXsbsFile.findAll { !it.empty && !it.startsWith("#") }
.collect { "org/apache/poi/schemas/ooxml/system/ooxml/${it.trim()}.xsb" }
- includes = clazz + clazzInner + xsbs + xsbs2 +
- ['META-INF/versions/**', 'META-INF/LICENSE', 'META-INF/NOTICE', 'org/apache/poi/schemas/ooxml/element/**']
+ includes = clazz + clazzInner + xsbs + xsbs2 + ['META-INF/versions/**', 'org/apache/poi/schemas/ooxml/element/**']
}
}
Modified: poi/trunk/poi-scratchpad/build.gradle
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/build.gradle?rev=1894566&r1=1894565&r2=1894566&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/build.gradle (original)
+++ poi/trunk/poi-scratchpad/build.gradle Tue Oct 26 00:37:27 2021
@@ -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) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org