This repository has been archived by the owner on May 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.sbt
50 lines (42 loc) · 1.48 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
45
46
47
48
49
crossScalaVersions in ThisBuild := Seq("2.12.8", "2.11.12")
scalaVersion in ThisBuild := crossScalaVersions.value.head
val commonSettings = Seq(
organization := "com.lightbend.lagom",
scalacOptions ++= List(
"-unchecked",
"-deprecation",
"-language:_",
"-encoding", "UTF-8"
),
javacOptions ++= List(
"-Xlint:unchecked",
"-Xlint:deprecation"
)
)
lazy val root = (project in file("."))
.enablePlugins(NoPublish)
.settings(
name := "lagom-akka-discovery-service-locator-root"
)
.aggregate(serviceLocatorCore, serviceLocatorJavadsl, serviceLocatorScaladsl)
lazy val serviceLocatorCore = (project in file("service-locator/core"))
.enablePlugins(AutomateHeaderPlugin)
.settings(commonSettings)
.settings(
name := "lagom-akka-discovery-service-locator-core",
libraryDependencies ++= Dependencies.serviceLocatorCore
)
lazy val serviceLocatorJavadsl = (project in file("service-locator/javadsl"))
.enablePlugins(AutomateHeaderPlugin)
.settings(commonSettings)
.settings(
name := "lagom-javadsl-akka-discovery-service-locator",
libraryDependencies ++= Dependencies.serviceLocatorJavadsl
).dependsOn(serviceLocatorCore)
lazy val serviceLocatorScaladsl = (project in file("service-locator/scaladsl"))
.enablePlugins(AutomateHeaderPlugin)
.settings(commonSettings)
.settings(
name := "lagom-scaladsl-akka-discovery-service-locator",
libraryDependencies ++= Dependencies.serviceLocatorScaladsl
).dependsOn(serviceLocatorCore)