title: How to use sbt to create 1 sub-project from 2 packages?
body: <p>I defined 2 sub-projects to create 2 jars for 2 packages. Can I create 1 sub-projects with 2 packages below? thanks </p>
  
  <pre><code>//subproject for domain package so that AWS lambda can consume the jar
  lazy val domainProject = (project in file("domain"))
    .enablePlugins(AssemblyPlugin)
    .settings(assemblyJarName in assembly := "domainPackage.jar")
  
  //subproject for util package so that AWS lambda can consume the jar
  lazy val utilProject = (project in file("util"))
    .enablePlugins(AssemblyPlugin)
    .settings(assemblyJarName in assembly := "utilPackage.jar")
    .dependsOn(domainProject)
  </code></pre>