Questions tagged [sbt-assembly]

sbt-assembly is an sbt plugin for building a single JAR file of a project.

sbt-assembly is open-source and is available under the MIT licence.

528 questions
0
votes
1 answer

How to exclude assembly from package in sbt?

I have a build.scala file that has a section that looks something like the clip below. I use sbt-assembly to build a jar file of all dependent libs for deployment. This builds fine. My problem is that I run 'assembly' and that builds ~16MB…
Greg
  • 10,696
  • 22
  • 68
  • 98
0
votes
1 answer

Merge Strategy not behaving as expected

In build.scala I have the following: mergeStrategy <<= (mergeStrategy in assembly) {(old) => { case PathList("javax", "servlet", "resources", xs @ _*) => MergeStrategy.first case x => old(x) }} However when I run assembly I see: [info] Merging…
Dan Billings
  • 852
  • 1
  • 8
  • 18
-1
votes
1 answer

How to use sbt to create 1 sub-project from 2 packages?

I defined 2 sub-projects to create 2 jars for 2 packages. Can I create 1 sub-projects with 2 packages below? thanks //subproject for domain package so that AWS lambda can consume the jar lazy val domainProject = (project in file("domain")) …
David
  • 69
  • 3
  • 7
1 2 3
35
36