-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
63 lines (50 loc) · 2.19 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
59
60
61
62
import sbt.Keys.version
import sbt._
name := "EncryExplorerFront"
version := "0.1"
organization := "org.encryfoundation"
scalaVersion := "2.12.8"
lazy val root = (project in file(".")).enablePlugins(PlayScala)
resolvers ++= Seq("Sonatype Releases" at "https://oss.sonatype.org/content/repositories/releases/",
"SonaType" at "https://oss.sonatype.org/content/groups/public",
"Typesafe maven releases" at "http://repo.typesafe.com/typesafe/maven-releases/",
"Sonatype Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/")
val akkaHttpVersion = "10.1.3"
val circeVersion = "0.9.3"
val doobieVersion = "0.5.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(
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-generic" % circeVersion,
"io.circe" %% "circe-parser" % circeVersion,
"com.dripower" %% "play-circe" % "2711.0" exclude("io.circe", "*"),
"com.github.swagger-akka-http" %% "swagger-akka-http" % "0.14.1",
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion
)
val loggingDependencies = Seq(
"org.slf4j" % "slf4j-api" % "1.7.25",
"ch.qos.logback" % "logback-classic" % "1.2.3"
)
libraryDependencies += guice
libraryDependencies ++= (Seq(
"net.codingwell" %% "scala-guice" % "4.2.1",
"org.webjars" % "bootstrap" % "3.3.6",
"javax.xml.bind" % "jaxb-api" % "2.1",
"org.scalatestplus.play" %% "scalatestplus-play" % "3.1.2" % Test,
"com.google.guava" % "guava" % "21.+",
"com.iheart" %% "ficus" % "1.4.2",
"org.encry" %% "encry-common" % "0.8.6",
"org.bouncycastle" % "bcprov-jdk15on" % "1.58",
"org.whispersystems" % "curve25519-java" % "+",
"org.rudogma" %% "supertagged" % "1.+",
"org.scorexfoundation" %% "scrypto" % "2.1.1",
"org.encry" %% "prism" % "0.2.3",
"com.adrianhurt" %% "play-bootstrap" % "1.4-P26-B4-SNAPSHOT",
"de.heikoseeberger" %% "akka-http-circe" % "1.20.1",
) ++ databaseDependencies ++ apiDependencies ++ loggingDependencies)
.map(_ exclude("ch.qos.logback", "*") exclude("ch.qos.logback", "*"))