Refactored telegram bot server
This commit is contained in:
36
build.sbt
36
build.sbt
@@ -1,21 +1,37 @@
|
||||
import Dependencies._
|
||||
|
||||
lazy val root = (project in file(".")).
|
||||
settings(
|
||||
inThisBuild(List(
|
||||
organization := "com.example",
|
||||
scalaVersion := "2.12.6",
|
||||
version := "0.1.0-SNAPSHOT",
|
||||
mainClass := Some("eu.xeppaka.bot1.TelegramBotServer")
|
||||
)),
|
||||
name := "telegram-bot1",
|
||||
lazy val commonSettings = Seq(
|
||||
organization := "com.example",
|
||||
scalaVersion := "2.12.7",
|
||||
version := "0.1.0-SNAPSHOT",
|
||||
mainClass := Some("eu.xeppaka.bot.TelegramBotServer")
|
||||
)
|
||||
|
||||
inThisBuild(commonSettings)
|
||||
|
||||
lazy val `telegram-bot` = (project in file("telegram-bot"))
|
||||
.settings(
|
||||
libraryDependencies ++= Seq(
|
||||
scalaTest % Test,
|
||||
akka,
|
||||
akkaTyped,
|
||||
akkaHttp,
|
||||
akkaStream,
|
||||
circleCore,
|
||||
circleGeneric,
|
||||
circleParser,
|
||||
circeAkkaHttp
|
||||
)
|
||||
)
|
||||
|
||||
lazy val `delivery-checker-bot` = (project in file("delivery-checker-bot"))
|
||||
.settings(
|
||||
libraryDependencies ++= Seq(
|
||||
scalaTest % Test,
|
||||
akka,
|
||||
akkaTyped,
|
||||
akkaHttp,
|
||||
akkaStream,
|
||||
vkapi,
|
||||
circleCore,
|
||||
circleGeneric,
|
||||
circleParser
|
||||
|
||||
Reference in New Issue
Block a user