Added main file server.Server and assembly for flat jars

This commit is contained in:
Guntis Smaukstelis
2023-05-12 21:32:14 +03:00
parent 77bb4f40c6
commit c07604512c
3 changed files with 6 additions and 3 deletions
+4 -3
View File
@@ -1,10 +1,11 @@
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / version := "0.1.1-SNAPSHOT"
ThisBuild / scalaVersion := "2.13.10"
lazy val root = (project in file("."))
.settings(
name := "WeatherTool"
name := "WeatherTool",
Compile / mainClass := Some("server.Server")
)
val http4sVersion = "0.23.16"
@@ -21,7 +22,7 @@ libraryDependencies ++= Seq(
"org.scala-lang" % "scala-reflect" % "2.13.10",
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-generic" % circeVersion,
"io.circe" %% "circe-generic-extras" % circeVersion,
"io.circe" %% "circe-optics" % circeVersion,