-
Notifications
You must be signed in to change notification settings - Fork 17
/
build.sbt
44 lines (36 loc) · 1.21 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
38
39
40
41
42
43
44
import sbt.Keys.version
organization := "com.lightbend.lagom"
name := "lagom-service-locator-consul"
val lagomVersion = "1.3.5"
val typesafeConfig = "com.typesafe" % "config" % "1.3.1"
val lagomJavadslClient = "com.lightbend.lagom" %% "lagom-javadsl-client" % lagomVersion
val lagomScaladslClient = "com.lightbend.lagom" %% "lagom-scaladsl-client" % lagomVersion
val consulApi = "com.ecwid.consul" % "consul-api" % "1.1.10"
val scalatest = "org.scalatest" %% "scalatest" % "3.0.1" % Test
lazy val `lagom-service-locator-consul` = (project in file("."))
.aggregate(
`lagom-service-locator-javadsl-consul`,
`lagom-service-locator-scaladsl-consul`
)
def common = Seq(
scalaVersion := "2.11.11",
version := "1.4.0-SNAPSHOT"
)
lazy val `lagom-service-locator-javadsl-consul` = (project in file("lagom-service-locator-javadsl-consul"))
.settings(common)
.settings(
libraryDependencies ++= Seq(
lagomJavadslClient,
consulApi,
scalatest
)
)
lazy val `lagom-service-locator-scaladsl-consul` = (project in file("lagom-service-locator-scaladsl-consul"))
.settings(common)
.settings(
libraryDependencies ++= Seq(
lagomScaladslClient,
consulApi,
scalatest
)
)