Files
WeatherTool/build.sbt
T

49 lines
1.6 KiB
Scala
Raw Normal View History

ThisBuild / version := "0.1.1-SNAPSHOT"
ThisBuild / scalaVersion := "2.13.10"
lazy val root = (project in file("."))
.settings(
name := "WeatherTool",
2025-03-01 18:16:56 +02:00
Compile / mainClass := Some("Main"),
// Assembly settings for consistent JAR name
assembly / assemblyJarName := "app.jar",
// Merge strategy for assembly to handle conflicts
assembly / assemblyMergeStrategy := {
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case "module-info.class" => MergeStrategy.discard
case x if x.endsWith(".conf") => MergeStrategy.concat
case x => MergeStrategy.first
}
)
2023-10-21 21:12:58 +03:00
val doobieVersion = "1.0.0-RC1"
2023-05-17 01:20:01 +03:00
val http4sVersion = "0.23.18"
val circeVersion = "0.14.1"
libraryDependencies ++= Seq(
"org.http4s" %% "http4s-dsl" % http4sVersion,
2023-05-17 01:20:01 +03:00
"org.http4s" %% "http4s-server" % http4sVersion,
"org.http4s" %% "http4s-ember-server" % http4sVersion,
"org.http4s" %% "http4s-ember-client" % http4sVersion,
"org.http4s" %% "http4s-circe" % http4sVersion,
2023-10-21 21:12:58 +03:00
"org.tpolecat" %% "doobie-core" % doobieVersion,
"org.tpolecat" %% "doobie-postgres" % doobieVersion,
"ch.qos.logback" % "logback-classic" % "1.2.9",
"org.scala-lang" % "scala-reflect" % "2.13.10",
2023-05-16 14:54:02 +03:00
"com.github.pureconfig" %% "pureconfig" % "0.17.4",
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-generic" % circeVersion,
"io.circe" %% "circe-generic-extras" % circeVersion,
"io.circe" %% "circe-optics" % circeVersion,
"io.circe" %% "circe-parser" % circeVersion,
2023-05-23 20:15:25 +03:00
"org.scalatest" %% "scalatest" % "3.2.16" % Test,
"org.scalamock" %% "scalamock" % "5.2.0" % Test
)