Author: fanningpj
Date: Mon Jun 12 09:46:24 2023
New Revision: 1910363
URL: http://svn.apache.org/viewvc?rev=1910363&view=rev
Log:
put LICENSE and NOTICE in all output jars (META-INF folder)
Modified:
xmlbeans/trunk/build.gradle
Modified: xmlbeans/trunk/build.gradle
URL:
http://svn.apache.org/viewvc/xmlbeans/trunk/build.gradle?rev=1910363&r1=1910362&r2=1910363&view=diff
==============================================================================
--- xmlbeans/trunk/build.gradle (original)
+++ xmlbeans/trunk/build.gradle Mon Jun 12 09:46:24 2023
@@ -361,6 +361,7 @@ jar {
from(project.rootDir) {
include 'NOTICE.txt'
include 'LICENSE.txt'
+ into 'META-INF'
}
from('build/classes/java9/main')
@@ -404,10 +405,18 @@ jar {
javadocJar {
archiveBaseName = "xmlbeans-${XMLBeansVersion}"
+ metaInf {
+ from("$projectDir/LICENSE.txt")
+ from("$projectDir/NOTICE.txt")
+ }
}
sourcesJar {
archiveBaseName = "xmlbeans-${XMLBeansVersion}"
+ metaInf {
+ from("$projectDir/LICENSE.txt")
+ from("$projectDir/NOTICE.txt")
+ }
}
tasks.withType(GenerateModuleMetadata) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]