diff --git a/.gitignore b/.gitignore index 8741fdf..57b2eb0 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ dependency-reduced-pom.xml logs/ .DS_Store data/* +!project/assembly.sbt diff --git a/build.sbt b/build.sbt index 681f61e..961272f 100644 --- a/build.sbt +++ b/build.sbt @@ -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, diff --git a/project/assembly.sbt b/project/assembly.sbt new file mode 100644 index 0000000..72477a2 --- /dev/null +++ b/project/assembly.sbt @@ -0,0 +1 @@ +addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.15.0")