Skip to content

Instantly share code, notes, and snippets.

@yasuabe
Created March 26, 2019 22:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yasuabe/ef813ad5b2ca5b6a377b1a2b11869d4a to your computer and use it in GitHub Desktop.
Save yasuabe/ef813ad5b2ca5b6a377b1a2b11869d4a to your computer and use it in GitHub Desktop.
build.sbt for doobie test
name := "doobie_test"
version := "0.1"
scalaVersion := "2.12.8"
resolvers += Resolver.sonatypeRepo("snapshots")
scalacOptions ++= Seq(
"-encoding", "utf8",
"-Xfatal-warnings",
"-Ypartial-unification",
"-deprecation",
"-unchecked",
"-language:implicitConversions",
"-language:higherKinds",
"-language:existentials",
"-language:postfixOps"
)
lazy val http4sVersion = "0.20.0-SNAPSHOT"
lazy val doobieVersion = "0.6.0"
libraryDependencies ++= Seq(
"org.tpolecat" %% "doobie-core",
"org.tpolecat" %% "doobie-postgres",
"org.tpolecat" %% "doobie-specs2"
).map(_ % doobieVersion) ++ Seq(
"org.http4s" %% "http4s-dsl",
"org.http4s" %% "http4s-blaze-server",
"org.http4s" %% "http4s-blaze-client",
"org.http4s" %% "http4s-circe"
).map(_ % http4sVersion) ++ Seq(
"io.circe" %% "circe-generic" % "0.11.1",
"io.monix" %% "monix" % "3.0.0-RC2",
"org.specs2" %% "specs2-core" % "4.3.6"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment