New JSON parsing library - circle. Integrated with akka-http. Test sending message by bot.

This commit is contained in:
Pavel Kachalouski
2018-05-13 23:28:21 +02:00
parent 715514f9ec
commit 9690ef0a3d
16 changed files with 457 additions and 77 deletions

View File

@@ -5,15 +5,25 @@ lazy val root = (project in file(".")).
inThisBuild(List(
organization := "com.example",
scalaVersion := "2.12.6",
version := "0.1.0-SNAPSHOT"
version := "0.1.0-SNAPSHOT",
mainClass := Some("eu.xeppaka.bot1.TelegramBotServer")
)),
name := "telegram-bot1",
libraryDependencies ++= Seq(
scalaTest % Test,
akka,
akkaHttp,
akkaHttpSprayJson,
akkaStream,
vkapi
vkapi,
circleCore,
circleGeneric,
circleParser
)
)
assemblyMergeStrategy in assembly := {
case PathList("META-INF", "io.netty.versions.properties") => MergeStrategy.first
case x =>
val oldStrategy = (assemblyMergeStrategy in assembly).value
oldStrategy(x)
}