Cats experiments

This commit is contained in:
Pavel Kachalouski
2023-07-30 21:01:22 +02:00
parent cb49d36849
commit 0c7be3abe6
27 changed files with 1048 additions and 962 deletions

View File

@@ -1,7 +1,7 @@
import Dependencies._
import Versions._
lazy val commonSettings = Seq(organization := "eu.xeppaka", scalaVersion := "2.13.4", mainClass := Some("eu.xeppaka.bot.Main"))
lazy val commonSettings = Seq(organization := "eu.xeppaka", scalaVersion := "3.3.0", mainClass := Some("tech.xeppaka.bot.Main"))
inThisBuild(commonSettings)
@@ -9,21 +9,14 @@ lazy val `telegram-bot-delivery` = (project in file("."))
.settings(
name := "telegram-bot-delivery",
libraryDependencies ++= Seq(
akkaTyped,
akkaSerializationJackson,
akkaClusterShardingTyped,
akkaHttp,
akkaHttpJackson,
akkaStream,
akkaPersistence,
akkaPersistenceCassandra,
akkaPersistenceQuery,
akkaTestkitTyped % Test,
scalaTest % Test,
slibTelegram,
logback
),
dependencyOverrides ++= Seq("com.typesafe.akka" %% "akka-http-jackson" % akkaHttpVersion),
catsCore,
catsEffect,
sttpClient,
tapirHttp4sServer,
scalaTest % Test,
slibTelegram,
logback
),
dockerBaseImage := "openjdk:11",
dockerExposedPorts := Seq(8443),
dockerRepository := Some("registry.xeppaka.eu:443"),