我有一个像这样的多项目 sbt 构建文件
import sbt._
import Keys._
object TestBuild extends Build {
lazy val root = Project(id = "test",
base = file(".")) aggregate(core, handlers)
lazy val core = Project(id = "test-core",
base = file("core"))
lazy val handlers = Project(id = "test-handlers",
base = file("handlers")) dependsOn (core)
}
如何构建一个包含所有依赖项 + 核心 + 处理程序的程序集 jar