Skip to content

Apache Lucene open-source search software

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

Dawid Weiss6c21862a552c
diff --git a/gradle/java/jar-manifest.gradle b/gradle/java/jar-manifest.gradle
index d5adeb081e6..bb45405aa30 100644
--- a/gradle/java/jar-manifest.gradle
+++ b/gradle/java/jar-manifest.gradle
@@ -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"