Skip to content

Instantly share code, notes, and snippets.

@ccarlile
Created October 24, 2017 22:15
Show Gist options
  • Save ccarlile/766ff6af7f66c30ee31fa042b2e651c1 to your computer and use it in GitHub Desktop.
Save ccarlile/766ff6af7f66c30ee31fa042b2e651c1 to your computer and use it in GitHub Desktop.
Naughty circe build.sbt
name := "heckin-good-project"
version := "1.0"
// -Mx denotes milestone releases - in general, these projects are ramping up for a cats 1.0 release
val scalaVersion = "2.12.3"
val circeVersion = "0.9.0-M1"
val http4sVersion = "0.18.0-M2"
val doobieVersion = "0.5.0-M8"
val nscalaTimeVersion = "2.16.0"
val specs2Version = "3.9.5"
val catsVersion = "1.0.0-MF"
val fs2Version = "0.10.0-M6"
val catsEffectVersion = "0.4"
val jodaTimeVersion = "2.9.9"
cancelable in Global := true
libraryDependencies ++= {
Seq(
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-generic" % circeVersion,
"io.circe" %% "circe-generic-extras" % circeVersion,
"io.circe" %% "circe-parser" % circeVersion,
"org.http4s" %% "http4s-dsl" % http4sVersion,
"org.http4s" %% "http4s-circe" % http4sVersion,
"org.http4s" %% "http4s-blaze-server" % http4sVersion,
"org.http4s" %% "http4s-blaze-client" % http4sVersion,
"org.tpolecat" %% "doobie-core" % doobieVersion,
"org.tpolecat" %% "doobie-hikari" % doobieVersion,
"org.tpolecat" %% "doobie-postgres" % doobieVersion,
// "com.github.nscala-time" %% "nscala-time" % nscalaTimeVersion,
"joda-time" % "joda-time" % jodaTimeVersion,
"org.specs2" %% "specs2-core" % specs2Version % "test",
"org.tpolecat" %% "doobie-specs2" % doobieVersion % "test",
"com.github.pureconfig" %% "pureconfig" % "0.8.0",
"org.flywaydb" % "flyway-core" % "4.2.0",
"postgresql" % "postgresql" % "9.1-901.jdbc4",
"org.typelevel" %% "cats-core" % catsVersion,
"org.typelevel" %% "cats-effect" % catsEffectVersion,
"co.fs2" %% "fs2-core" % "0.10.0-M6"
)
}
scalacOptions in Test ++= Seq("-Yrangepos") // specs2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment