Closed erikkaplun closed 10 years ago
Sorry, closed accidentally...
OK, there seems to be an undocumented setting packageOptions in oneJar
which can be set:
packageOptions in oneJar := Seq(ManifestAttributes(
(MAIN_CLASS, "com.simontuffs.onejar.Boot"),
(new Name("One-Jar-Expand"), "main/myproject.jar")))
however, is it expected users of sbt-onejar look this up in the source code or should this be documented?
There don't seem to be a setting or an obvious way to set the
One-Jar-Expand
attribute you'd normally set by means of aboot-manifest.mf
file in the root directory.Could this be added to sbt-onejar in one way or another?