-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.sbt
68 lines (64 loc) · 2.63 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
63
64
65
66
67
68
ThisBuild / scalaVersion := "2.12.8"
lazy val server = (project in file("."))
.settings(
name := "Flag-Boot-Template",
Compile/mainClass := Some("Process.IOServer"),
assembly/mainClass := Some("Process.IOServer"),
assembly/assemblyMergeStrategy := {
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case "application.conf" => MergeStrategy.concat
case x => MergeStrategy.first
},
assemblyJarName in assembly := "Flag-Boot-Template.jar"
)
lazy val doobieVersion = "0.13.4"
val circeVersion = "0.14.1"
lazy val akkaVersion = "2.6.18"
lazy val akkaHttpVersion = "10.2.4"
val http4sVersion = "0.22.14"
resolvers += Resolver.sonatypeRepo("snapshots")
libraryDependencies ++= Seq(
"io.circe" %% "circe-core",
"io.circe" %% "circe-literal",
"io.circe" %% "circe-generic",
"io.circe" %% "circe-generic-extras",
"io.circe" %% "circe-parser",
"io.circe" %% "circe-shapes",
).map(_ % circeVersion)
libraryDependencies ++= Seq(
"org.tpolecat" %% "doobie-core" % doobieVersion,
"org.tpolecat" %% "doobie-postgres" % doobieVersion,
"org.tpolecat" %% "doobie-hikari" % doobieVersion,
"org.tpolecat" %% "doobie-specs2" % doobieVersion
)
libraryDependencies ++= Seq(
"org.apache.poi" % "poi-ooxml" % "3.17",
"com.typesafe.slick" %% "slick" % "3.3.1",
"com.typesafe.slick" %% "slick-hikaricp" % "3.3.1",
"org.postgresql" % "postgresql" % "42.2.5",//org.postgresql.ds.PGSimpleDataSource dependency
"joda-time"%"joda-time"%"2.10.5",
"org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.4",
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"org.scalatest" %% "scalatest" % "3.1.0" % Test,
"com.typesafe.akka" %% "akka-serialization-jackson" % akkaVersion,
"com.thesamet.scalapb" %% "scalapb-runtime" % "0.10.7",
"io.netty" % "netty-tcnative-boringssl-static" % "2.0.22.Final",
"com.sun.mail" % "javax.mail" % "1.6.2",
//"ch.qos.logback" % "logback-classic" % "1.2.10",
//"com.typesafe.scala-logging" %% "scala-logging" % "3.9.4",
"io.monix" %% "monix" % "3.4.0",
"org.http4s" %% "http4s-dsl" % http4sVersion,
"org.http4s" %% "http4s-circe" % http4sVersion,
"org.http4s" %% "http4s-ember-server" % http4sVersion,
"org.http4s" %% "http4s-ember-client" % http4sVersion,
"org.http4s" %% "http4s-blaze-server" % http4sVersion,
"org.http4s" %% "http4s-blaze-client" % http4sVersion,
"com.github.pureconfig" %% "pureconfig" % "0.17.1",
"dev.profunktor" %% "redis4cats-effects" % "0.14.0"
)
addCompilerPlugin(
"org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.full
)
scalacOptions += "-deprecation"
scalacOptions += "-Ypartial-unification"
fork in run := true