LUCENE-10186: Include manifest and legalese in source and javadoc jars. (#395)

This commit is contained in:
Dawid Weiss 2021-10-19 10:04:42 +02:00 committed by GitHub
parent e290f91bb2
commit 6c21862a55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -24,10 +24,8 @@ subprojects {
def implementationTitle = "org.apache.lucene"
def legaleseDir = project(":").projectDir
// Apply the manifest to any JAR or WAR file created by any project,
// excluding those explicitly listed.
// Apply the manifest to any JAR or WAR file created by any project.
tasks.withType(Jar)
.matching { t -> !["sourcesJar", "javadocJar"].contains(t.name) }
.configureEach { task ->
// Compute git status once on the root project prior to assembling manifest.
dependsOn ":gitStatus"