-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
63 lines (51 loc) · 2.01 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
scalaVersion := "2.13.8"
scalacOptions ++= Seq("-Xfatal-warnings", "-deprecation", "-feature", "-language:postfixOps")
resolvers += Resolver.sonatypeRepo("releases")
libraryDependencies ++= {
val akkaVersion = "2.6.19"
val akkaHttpVersion = "10.2.9"
val flywayVersion = "8.5.12"
val hikariCpVersion = "5.0.1"
val postgresVersion = "42.3.6"
val scalaBcryptVersion = "4.3.0"
val scalaTestVersion = "3.2.12"
val slickVersion = "3.3.3"
val slickPGVersion = "0.20.3"
val sprayVersion = "1.3.6"
Seq(
"com.typesafe.akka" %% "akka-actor" % akkaVersion,
"com.typesafe.akka" %% "akka-stream" % akkaVersion,
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-http-core" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-http-testkit" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-http-spray-json" % akkaHttpVersion,
"com.github.t3hnar" %% "scala-bcrypt" % scalaBcryptVersion,
"com.typesafe.slick" %% "slick" % slickVersion,
"org.postgresql" % "postgresql" % postgresVersion,
"org.flywaydb" % "flyway-core" % flywayVersion,
"com.zaxxer" % "HikariCP" % hikariCpVersion,
"io.spray" %% "spray-json" % sprayVersion,
"com.github.tminglei" %% "slick-pg" % slickPGVersion,
"com.github.tminglei" %% "slick-pg_spray-json" % slickPGVersion,
"org.scalatest" %% "scalatest" % scalaTestVersion % "test",
"com.typesafe.akka" %% "akka-testkit" % akkaVersion % "test",
"com.typesafe.akka" %% "akka-http-testkit" % akkaHttpVersion % "test"
).map(_.exclude("org.slf4j", "*"))
}
libraryDependencies ++= {
val logBackVersion = "1.2.11"
val scalaLoggingVersion = "3.9.5"
Seq(
"ch.qos.logback" % "logback-classic" % logBackVersion,
"com.typesafe.scala-logging" %% "scala-logging" % scalaLoggingVersion
)
}
lazy val root = (project in file(".")).
enablePlugins(AssemblyPlugin).
settings(
name := "open-lifelogging",
organization := "de.thepiwo",
version := "0.0.3",
scalaVersion := scalaVersion.value
)
Test / test := {}