-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
37 lines (31 loc) · 1.07 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
organization in ThisBuild := "com.codingkapoor"
version in ThisBuild := "1.0-SNAPSHOT"
scalaVersion in ThisBuild := "2.12.8"
val mysql = "mysql" % "mysql-connector-java" % "8.0.17"
val macwire = "com.softwaremill.macwire" %% "macros" % "2.3.0" % "provided"
val playJsonDerivedCodecs = "org.julienrf" %% "play-json-derived-codecs" % "4.0.0"
val scalaTest = "org.scalatest" %% "scalatest" % "3.0.4" % Test
lazy val `lagom-slickreadside-scala` = (project in file("."))
.aggregate(`employee-api`, `employee-impl`)
lazy val `employee-api` = (project in file("employee-api"))
.settings(
libraryDependencies ++= Seq(
lagomScaladslApi,
playJsonDerivedCodecs
)
)
lazy val `employee-impl` = (project in file("employee-impl"))
.enablePlugins(LagomScala)
.settings(
libraryDependencies ++= Seq(
lagomScaladslPersistenceCassandra,
lagomScaladslPersistenceJdbc,
lagomScaladslTestKit,
mysql,
macwire,
scalaTest
)
)
.settings(lagomForkedTestSettings)
.dependsOn(`employee-api`)
lagomCassandraCleanOnStart in ThisBuild := true