-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.sbt
50 lines (36 loc) · 989 Bytes
/
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
50
import sbt.Keys._
name := "ostinato"
version := "2.0.0"
enablePlugins(ScalaJSPlugin)
enablePlugins(PackPlugin)
val akkaVersion = "10.0.4"
lazy val root = project.in(file(".")).
aggregate(js, jvm).
settings(
publish := {},
publishLocal := {}
)
lazy val ostinato = crossProject.in(file(".")).
settings (
name := "ostinato",
version := "2.0.0",
organization := "org.gappa",
scalaVersion := "2.12.1",
libraryDependencies ++= Seq("org.scalatest" %%% "scalatest" % "3.0.1")
).
jvmSettings(
scalaVersion := "2.12.1",
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-http" % akkaVersion,
"com.typesafe.akka" %% "akka-http-testkit" % akkaVersion % "test",
"com.typesafe.akka" %% "akka-http-spray-json" % akkaVersion
)
).
jsSettings (
scalaVersion := "2.12.1"
)
lazy val js = ostinato.js
lazy val jvm = ostinato.jvm
// https://github.com/xerial/sbt-pack
// TODO re-enable this
//packAutoSettings