Added main file server.Server and assembly for flat jars
This commit is contained in:
@@ -25,3 +25,4 @@ dependency-reduced-pom.xml
|
|||||||
logs/
|
logs/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
data/*
|
data/*
|
||||||
|
!project/assembly.sbt
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
ThisBuild / version := "0.1.0-SNAPSHOT"
|
ThisBuild / version := "0.1.1-SNAPSHOT"
|
||||||
|
|
||||||
ThisBuild / scalaVersion := "2.13.10"
|
ThisBuild / scalaVersion := "2.13.10"
|
||||||
|
|
||||||
lazy val root = (project in file("."))
|
lazy val root = (project in file("."))
|
||||||
.settings(
|
.settings(
|
||||||
name := "WeatherTool"
|
name := "WeatherTool",
|
||||||
|
Compile / mainClass := Some("server.Server")
|
||||||
)
|
)
|
||||||
|
|
||||||
val http4sVersion = "0.23.16"
|
val http4sVersion = "0.23.16"
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.15.0")
|
||||||
Reference in New Issue
Block a user