New JSON parsing library - circle. Integrated with akka-http. Test sending message by bot.
This commit is contained in:
16
build.sbt
16
build.sbt
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user