-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
40 lines (37 loc) · 1.9 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
addCompilerPlugin("org.spire-math" %% "kind-projector" % "0.9.4")
val CatsVersion = "1.0.1"
val Http4sVersion = "0.18.0"
val DoobieVersion = "0.5.0-M14"
val CourierVersion = "1.0.0"
val TSecVersion = "0.0.1-M7"
lazy val root = (project in file("."))
.enablePlugins(SbtTwirl)
.settings(
organization := "io.github.daddykotex",
name := "subs",
version := "0.0.1-SNAPSHOT",
scalaVersion := "2.12.4",
scalacOptions ++= ScalacOptions.All,
resolvers += "jmcardon at bintray" at "https://dl.bintray.com/jmcardon/tsec",
scalafmtOnCompile := true,
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-core" % CatsVersion,
"org.http4s" %% "http4s-blaze-server" % Http4sVersion,
"org.http4s" %% "http4s-circe" % Http4sVersion,
"org.http4s" %% "http4s-dsl" % Http4sVersion,
"org.http4s" %% "http4s-twirl" % Http4sVersion,
"org.http4s" %% "http4s-blaze-client" % Http4sVersion,
"org.tpolecat" %% "doobie-core" % DoobieVersion,
"org.tpolecat" %% "doobie-hikari" % DoobieVersion,
"org.tpolecat" %% "doobie-postgres" % DoobieVersion,
"org.tpolecat" %% "doobie-specs2" % DoobieVersion,
"com.github.daddykotex" %% "courier-core" % CourierVersion,
"io.github.jmcardon" %% "tsec-password" % TSecVersion,
"org.reactormonk" %% "cryptobits" % "1.1",
"org.postgresql" % "postgresql" % "42.1.4",
"ch.qos.logback" % "logback-classic" % "1.2.1"
)
)
// TODO: Try to figure out a way to keep the warn-unused:imports
// scalacOptions in (Compile, TwirlKeys.sourceEncoding) ~= (_ filterNot (_ == "-Ywarn-unused:imports"))
// scalacOptions in (Compile, TwirlKeys.compileTemplates) ~= (_ filterNot (_ == "-Ywarn-unused:imports"))