mirror of https://github.com/apache/poi.git
try to add LICENSE and NOTICE to javadoc jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894564 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a5325cb112
commit
e66486bc8a
|
@ -87,3 +87,10 @@ jar {
|
|||
attributes('Automatic-Module-Name': MODULE_NAME, 'Multi-Release': 'true')
|
||||
}
|
||||
}
|
||||
|
||||
javadocJar {
|
||||
metaInf {
|
||||
from("$projectDir/../legal/LICENSE")
|
||||
from("$projectDir/../legal/NOTICE")
|
||||
}
|
||||
}
|
||||
|
|
|
@ -120,6 +120,13 @@ jar {
|
|||
}
|
||||
}
|
||||
|
||||
javadocJar {
|
||||
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, cacheTest9 ] ) {
|
||||
|
|
|
@ -276,6 +276,13 @@ javadoc {
|
|||
}
|
||||
}
|
||||
|
||||
javadocJar {
|
||||
metaInf {
|
||||
from("$projectDir/../legal/LICENSE")
|
||||
from("$projectDir/../legal/NOTICE")
|
||||
}
|
||||
}
|
||||
|
||||
artifacts {
|
||||
tests testJar
|
||||
}
|
||||
|
|
|
@ -144,6 +144,13 @@ javadoc {
|
|||
}
|
||||
}
|
||||
|
||||
javadocJar {
|
||||
metaInf {
|
||||
from("$projectDir/../legal/LICENSE")
|
||||
from("$projectDir/../legal/NOTICE")
|
||||
}
|
||||
}
|
||||
|
||||
artifacts {
|
||||
tests testJar
|
||||
}
|
||||
|
|
|
@ -175,6 +175,13 @@ javadoc {
|
|||
}
|
||||
}
|
||||
|
||||
javadocJar {
|
||||
metaInf {
|
||||
from("$projectDir/../legal/LICENSE")
|
||||
from("$projectDir/../legal/NOTICE")
|
||||
}
|
||||
}
|
||||
|
||||
artifacts {
|
||||
tests testJar
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue