-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sbt
More file actions
34 lines (31 loc) · 965 Bytes
/
build.sbt
File metadata and controls
34 lines (31 loc) · 965 Bytes
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
val cats = "1.1.0"
val catsDeps = Seq(
"org.typelevel" %% "cats-core",
"org.typelevel" %% "cats-macros",
"org.typelevel" %% "cats-kernel"
).map(_ % cats)
val utilDeps = Seq(
"ch.qos.logback" % "logback-classic" % "1.2.3"
)
lazy val silencer = project
.in(file("."))
.settings(commonSettings)
.settings(libraryDependencies ++= Seq(
"info.mukel" %% "telegrambot4s" % "3.0.15",
"net.openhft" % "chronicle-map" % "3.15.1",
"com.twitter" %% "bijection-protobuf" % "0.9.6",
"org.scalatest" %% "scalatest" % "3.0.5" % "test"
) ++ catsDeps ++ utilDeps)
.settings(
PB.targets in Compile := Seq(
scalapb.gen() -> (sourceManaged in Compile).value
))
def commonSettings =
Seq(name := "TelegramSilencer",
organization := "me.optician_owl",
version := "0.1.0",
scalaVersion := "2.12.6",
scalacOptions ++= Seq(
"-deprecation",
"-Ypartial-unification"
))