Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Commit 68b72ab

Browse files
committed
Replace Automatic-Module-Name manifest entry with module-info.java
1 parent caf8121 commit 68b72ab

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

build.sbt

-6
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ lazy val root = (project in file("."))
2222
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
2323
},
2424
*/
25-
Compile / packageBin / packageOptions += {
26-
import java.util.jar.{Attributes, Manifest}
27-
val manifest = new Manifest
28-
manifest.getMainAttributes.put(new Attributes.Name("Automatic-Module-Name"), "dev.dirs")
29-
Package.JarManifest(manifest)
30-
},
3125
pomIncludeRepository := { _ => false },
3226
pomExtra :=
3327
<scm>

src/main/java/module-info.java

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module dev.dirs {
2+
exports dev.dirs;
3+
}

0 commit comments

Comments
 (0)