Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ libraryDependencies ++=
("org.xerial.snappy", "snappy-java")
)

packageOptions += Package.ManifestAttributes("Automatic-Module-Name" -> "org.xerial.snappy")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

To improve maintainability and promote the DRY (Don't Repeat Yourself) principle, it's better to reuse the existing organization setting rather than hardcoding the module name. This ensures the module name remains consistent with the organization identifier.

packageOptions += Package.ManifestAttributes("Automatic-Module-Name" -> organization.value)


enablePlugins(SbtOsgi)

osgiSettings
Expand Down
Loading