-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
73 lines (60 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
64
65
66
67
68
69
70
71
72
73
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / scalaVersion := "2.13.10"
scalacOptions ++= Seq(
"-deprecation",
"-feature",
"-Ymacro-annotations",
)
val http4sVersion = "1.0.0-M39"
val circeVersion = "0.14.1"
val scalaTestVersion = "3.2.15"
val bot4sVersion = "5.6.3"
val enumeratumVersion = "1.7.2"
val doobieVersion = "1.0.0-RC1"
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-effect" % "3.4.8",
"org.scalaj" %% "scalaj-http" % "2.4.2",
"net.ruippeixotog" %% "scala-scraper" % "3.0.0",
"org.asynchttpclient" % "async-http-client" % "2.12.3",
"com.softwaremill.sttp.client3" %% "async-http-client-backend-cats" % "3.8.13",
"biz.enef" %% "slogging" % "0.6.2",
)
libraryDependencies ++= Seq(
"org.http4s" %% "http4s-circe",
"org.http4s" %% "http4s-ember-client",
"org.http4s" %% "http4s-ember-server",
"org.http4s" %% "http4s-dsl",
).map(_ % http4sVersion)
libraryDependencies ++= Seq(
"io.circe" %% "circe-core",
"io.circe" %% "circe-generic",
"io.circe" %% "circe-parser",
"io.circe" %% "circe-literal",
"io.circe" %% "circe-generic-extras",
).map(_ % circeVersion)
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % scalaTestVersion % Test,
"org.scalamock" %% "scalamock" % "5.2.0" % Test,
)
Test / coverageEnabled := true
libraryDependencies ++= Seq(
"com.bot4s" %% "telegram-core",
).map(_ % bot4sVersion)
libraryDependencies ++= Seq(
"com.beachape" %% "enumeratum" % enumeratumVersion
)
libraryDependencies ++= Seq(
"org.tpolecat" %% "doobie-core" % doobieVersion,
"org.tpolecat" %% "doobie-postgres" % doobieVersion,
"org.tpolecat" %% "doobie-specs2" % doobieVersion,
"org.tpolecat" %% "doobie-hikari" % doobieVersion,
"org.tpolecat" %% "doobie-postgres-circe" % doobieVersion,
)
addCompilerPlugin("com.olegpy" %% "better-monadic-for" % "0.3.1")
lazy val root = (project in file("."))
.settings(
name := "Cavisto",
version := "0.1.0-SNAPSHOT",
executableScriptName := "main",
)
.enablePlugins(JavaAppPackaging)