Skip to content

Commit

Permalink
Merge pull request #74 from cljohnso/manifestFixup
Browse files Browse the repository at this point in the history
MANIFEST.MF and LICENSE corrections
  • Loading branch information
chrisdennis committed Nov 29, 2023
2 parents d448ebc + 6024308 commit 70eec13
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ tasks {
"Build-Jdk-Spec" to jdkSpec,
"Built-By" to System.getProperty("user.name"),
"Build-Jdk" to System.getProperty("java.version"),
"Specification-Title" to project.description,
"Specification-Title" to project.extra["pomName"],
"Specification-Version" to specVersion(project.version.toString()),
"Implementation-Title" to project.name,
"Implementation-Vendor-Id" to project.group,
Expand Down
10 changes: 9 additions & 1 deletion test-tools/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,20 @@ spotbugs {
excludeFilter.value(layout.projectDirectory.file("config/spotbugs/excludeFilter.xml"))
}

tasks.sourcesJar {
val junitLicense = project.copySpec {
into("META-INF/licenses/junit/junit") {
from(layout.projectDirectory) {
include("*-junit*")
}
}
}

tasks.jar {
with(junitLicense)
}

tasks.sourcesJar {
with(junitLicense)
into("") {
from(layout.projectDirectory.file("README.md"))
}
Expand Down

0 comments on commit 70eec13

Please sign in to comment.