دنبال کننده ها

۱۳۹۶ اسفند ۹, چهارشنبه

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

[ad_1]



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"))
.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)



[ad_2]

لینک منبع