-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
48 lines (46 loc) · 1.74 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
import sbtbuildinfo.BuildInfoPlugin.autoImport.buildInfoOptions
val Http4sVersion = "0.18.21"
val Specs2Version = "4.1.0"
val LogbackVersion = "1.2.3"
val CirceVersion = "0.9.3"
val Github4sVersion = "0.20.0"
lazy val root = (project in file("."))
.settings(
organization := "com.xvygyjau",
name := "wordenlijst",
scalaVersion := "2.12.7",
libraryDependencies ++= Seq(
"org.http4s" %% "http4s-blaze-server" % Http4sVersion,
"org.http4s" %% "http4s-blaze-client" % Http4sVersion,
"org.http4s" %% "http4s-circe" % Http4sVersion,
"org.http4s" %% "http4s-dsl" % Http4sVersion,
"org.scalamock" %% "scalamock" % "4.1.0" % Test,
"org.scalatest" %% "scalatest" % "3.0.4" % Test,
"ch.qos.logback" % "logback-classic" % LogbackVersion,
"com.47deg" %% "github4s" % Github4sVersion,
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.0",
"io.circe" %% "circe-generic" % CirceVersion,
"io.circe" %% "circe-literal" % CirceVersion
),
resolvers += Resolver.bintrayRepo("aleksandrvin", "maven"),
libraryDependencies ++= Seq(
"org.picoworks" %% "pico-hashids" % "4.4.145-5e94364"
),
addCompilerPlugin("org.spire-math" %% "kind-projector" % "0.9.6"),
addCompilerPlugin("com.olegpy" %% "better-monadic-for" % "0.2.4"),
scalacOptions ++= Seq("-Ypartial-unification"),
buildInfoPackage := "com.xvygyjau.wordenlijst",
buildInfoKeys := Seq[BuildInfoKey](
name,
version,
scalaVersion,
sbtVersion,
resolvers,
libraryDependencies
),
buildInfoOptions += BuildInfoOption.BuildTime,
buildInfoOptions += BuildInfoOption.ToJson
)
.enablePlugins(GitVersioning)
.enablePlugins(JavaAppPackaging)
.enablePlugins(BuildInfoPlugin)