sbt / sbt-assembly

Deploy über-JARs. Restart processes. (port of codahale/assembly-sbt)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add setting to allow adding arbitrary files to output Jar

mdedetrich opened this issue · comments

Context for this feature can be seen at apache/pekko#140

In summary, the idea is to add a sbt setting (lets say assemblyIncludeFilesInJar) which has type Map[Set[java.io.File], sbt.io.Path]. This would mean that for each set of files. they would get added to the output Jar under the specific sbt.io.Path.

Closing this, turns out that this feature is completely unnecessary since sbt-assembly should pick up files in resourcesManaged and due to a fairly bespoke usage/configuration of sbt-assembly that. we happen to be using, it wasn't dong this correctly (see apache/pekko#174 for more info)