-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
58 lines (46 loc) · 1.59 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
50
51
52
53
54
55
56
57
58
import sbt._
lazy val settings = Seq(
name := "ExplorerEncry",
version := "0.0.1",
organization := "org.encryfoundation",
scalaVersion := "2.12.8"
)
val akkaVersion = "2.5.13"
val akkaHttpVersion = "10.0.9"
val doobieVersion = "0.8.0-RC1"
val logbackVersion = "1.2.3"
val circeVersion = "0.9.2"
val databaseDependencies = Seq(
"org.tpolecat" %% "doobie-core" % doobieVersion,
"org.tpolecat" %% "doobie-postgres" % doobieVersion,
"org.tpolecat" %% "doobie-specs2" % doobieVersion,
"org.tpolecat" %% "doobie-hikari" % doobieVersion
)
val apiDependencies = Seq(
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion
)
val loggingDependencies = Seq(
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.0",
"org.encry" %% "encry-common" % "0.9.0",
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-parser" % circeVersion,
"io.circe" %% "circe-generic" % circeVersion,
"ch.qos.logback" % "logback-classic" % logbackVersion,
"ch.qos.logback" % "logback-core" % logbackVersion,
"org.scalaj" %% "scalaj-http" % "2.4.1",
"net.logstash.logback" % "logstash-logback-encoder" % "1.0",
"com.typesafe.akka" %% "akka-slf4j" % akkaVersion
)
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % akkaVersion,
"com.typesafe.akka" %% "akka-stream" % akkaVersion,
"com.iheart" %% "ficus" % "1.4.2",
) ++ apiDependencies ++ loggingDependencies ++ databaseDependencies
fork := true
outputStrategy := Some(StdoutOutput)
connectInput in run := true
val opts = Seq(
"-Xmx2G",
)
javaOptions in run ++= opts
val explorer = (project in file(".")).settings(settings: _*)