Skip to content

Commit

Permalink
Replace Automatic-Module-Name manifest entry with module-info.java
Browse files Browse the repository at this point in the history
  • Loading branch information
soc committed Oct 17, 2024
1 parent caf8121 commit 68b72ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 0 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ lazy val root = (project in file("."))
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
},
*/
Compile / packageBin / packageOptions += {
import java.util.jar.{Attributes, Manifest}
val manifest = new Manifest
manifest.getMainAttributes.put(new Attributes.Name("Automatic-Module-Name"), "dev.dirs")
Package.JarManifest(manifest)
},
pomIncludeRepository := { _ => false },
pomExtra :=
<scm>
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module dev.dirs {
exports dev.dirs;
}

0 comments on commit 68b72ab

Please sign in to comment.