[sbt] add thorp-lib module (#66)

This commit is contained in:
Paul Campbell 2019-06-17 16:47:01 +01:00 committed by GitHub
parent 9196dd623f
commit afd28e7100
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,16 +54,21 @@ val catsEffectsSettings = Seq(
"-Ypartial-unification") "-Ypartial-unification")
) )
// cli -> aws-lib -> core -> aws-api -> domain // cli -> thorp-lib -> aws-lib -> core -> aws-api -> domain
lazy val cli = (project in file("cli")) lazy val cli = (project in file("cli"))
.settings(commonSettings) .settings(commonSettings)
.settings(mainClass in assembly := Some("net.kemitix.thorp.cli.Main")) .settings(mainClass in assembly := Some("net.kemitix.thorp.cli.Main"))
.settings(applicationSettings) .settings(applicationSettings)
.settings(catsEffectsSettings) .settings(catsEffectsSettings)
.aggregate(`aws-lib`, core, `aws-api`, domain) .aggregate(`thorp-lib`, `aws-lib`, core, `aws-api`, domain)
.settings(commandLineParsing) .settings(commandLineParsing)
.settings(testDependencies) .settings(testDependencies)
.dependsOn(`thorp-lib`)
lazy val `thorp-lib` = (project in file("thorp-lib"))
.settings(commonSettings)
.settings(assemblyJarName in assembly := "thorp-lib.jar")
.dependsOn(`aws-lib`) .dependsOn(`aws-lib`)
lazy val `aws-lib` = (project in file("aws-lib")) lazy val `aws-lib` = (project in file("aws-lib"))