Refactored telegram bot server

This commit is contained in:
Pavel Kachalouski
2018-10-21 00:48:48 +02:00
parent 7bfd8ae49f
commit 38c18570ff
24 changed files with 881 additions and 1005 deletions

View File

@@ -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