Skip to content

Commit

Permalink
use module name as package scope to export content to bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
bdhoine committed Aug 23, 2024
1 parent 0b080b2 commit 769923c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/otel.java-conventions.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ tasks {
"Implementation-Title" to project.name,
"Implementation-Version" to project.version,
// BND plugin to export the packages as OSGi bundle
"-exportcontents" to "!io.opentelemetry.**.internal,io.opentelemetry.*,"
"-exportcontents" to "!${otelJava.moduleName.get()}.**.internal,${otelJava.moduleName.get()}.*"
)
}
}
Expand Down

0 comments on commit 769923c

Please # to comment.