Skip to content

Commit

Permalink
Mark apiguardian as optional for OSGi
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Dec 4, 2024
1 parent 4354c0e commit dae88c7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion buildSrc/src/main/kotlin/java-conventions.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,15 @@ tasks {
"Bundle-Description" to project.name,
"Bundle-DocURL" to "https://github.com/ota4j-team/open-test-reporting",
"Bundle-Vendor" to "opentest4j.org",
"-exportcontents" to "org.opentest4j.reporting.*",
"Bundle-SymbolicName" to moduleName,
)
}
bundle {
bnd(
"-exportcontents: org.opentest4j.reporting.*",
"Import-Package: org.apiguardian.*;resolution:=\"optional\",*",
)
}
}
javadoc {
(options as StandardJavadocDocletOptions).apply {
Expand Down

0 comments on commit dae88c7

Please sign in to comment.