-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
69 lines (62 loc) · 2.08 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
import sbtassembly.AssemblyPlugin.autoImport.assemblyJarName
name := "bborzoi_bot"
addCompilerPlugin(
"org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.full
)
lazy val commonSettings = Seq(
scalaVersion := "2.12.7",
organization := "com.github.tdMuninn",
version := "0.2.3",
libraryDependencies ++= Seq(
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.0",
"ch.qos.logback" % "logback-classic" % "1.2.1",
"org.backuity.clist" %% "clist-core" % "3.4.0",
"org.backuity.clist" %% "clist-macros" % "3.4.0" % "provided",
// "com.github.nscala-time" %% "nscala-time" % "2.20.0",
"org.scala-lang.modules" %% "scala-xml" % "1.1.1",
"org.scalatest" %% "scalatest" % "3.0.4" % Test
),
scalacOptions ++= Seq(
"-deprecation",
"-feature",
"-Xfatal-warnings",
"-language:postfixOps",
"-language:implicitConversions",
"-language:higherKinds",
),
test in assembly := {},
assemblyJarName in assembly := s"${name.value}_${scalaVersion.value}-assembly-${version.value}.jar"
)
lazy val borzoiTelegramBot = (project in file("./com/bborzoi/bot"))
.settings(commonSettings: _*)
.settings(normalizedName := "borzoi-telegram-bot")
.settings(
libraryDependencies ++= Seq(
"com.bot4s" %% "telegram-core" % "4.0.0-RC2",
"com.bot4s" %% "telegram-akka" % "4.0.0-RC2",
"io.circe" %% "circe-core" % "0.10.1",
"io.circe" %% "circe-generic" % "0.10.1",
"io.circe" %% "circe-parser" % "0.10.1"
)
)
lazy val borzoiExchanges = (project in file("./com/bborzoi/exchanges"))
.settings(commonSettings: _*)
.settings(normalizedName := "borzoi-exchanges")
.settings(
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % "2.5.9",
"com.typesafe.akka" %% "akka-stream" % "2.5.12",
"com.softwaremill.sttp" %% "akka-http-backend" % "1.3.8",
"com.lucidchart" %% "xtract" % "2.0.1",
)
)
lazy val root = project.in(file("."))
.settings(commonSettings: _*)
.dependsOn(
borzoiTelegramBot,
borzoiExchanges
)
.aggregate(
borzoiTelegramBot,
borzoiExchanges
)