Skip to content

Commit

Permalink
Add OSGi metadata (#23)
Browse files Browse the repository at this point in the history
Resolves #22.
  • Loading branch information
kriegfrj authored Jun 20, 2021
1 parent a7331ee commit 83d2250
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ plugins {
id("idea")
id("maven-publish")
id("signing")
id("biz.aQute.bnd.builder") version "5.3.0"
id("net.nemerosa.versioning") version "2.14.0"
id("org.ajoberstar.git-publish") version "3.0.0"
id("de.marcphilipp.nexus-publish") version "0.4.0"
Expand Down Expand Up @@ -78,7 +79,13 @@ tasks {
"Specification-Vendor" to "apiguardian.org",
"Implementation-Title" to project.name,
"Implementation-Version" to project.version,
"Implementation-Vendor" to "apiguardian.org"
"Implementation-Vendor" to "apiguardian.org",
"Bundle-Name" to project.name,
"Bundle-Description" to project.description,
"Bundle-DocURL" to "https://github.com/apiguardian-team/apiguardian",
"Bundle-Vendor" to "apiguardian.org",
"-exportcontents" to "org.apiguardian.api",
"Bundle-SymbolicName" to moduleName
)
}
from(files(compileModule.map { "${it.destinationDir}/${moduleName}" })) {
Expand Down

0 comments on commit 83d2250

Please sign in to comment.