Improve error handling
This commit is contained in:
parent
87bd780f9f
commit
e6a8150483
7 changed files with 78 additions and 62 deletions
17
build.mill
17
build.mill
|
|
@ -6,15 +6,14 @@ import mill.*, scalalib.*
|
|||
import com.goyeau.mill.scalafix.ScalafixModule
|
||||
|
||||
object Versions:
|
||||
val zio = "2.1.21"
|
||||
val zio = "2.1.22"
|
||||
val zioJson = "0.7.44"
|
||||
val zioSchema = "1.7.5"
|
||||
val zioHttp = "3.5.1"
|
||||
val zioPrelude = "1.0.0-RC42"
|
||||
|
||||
|
||||
trait CommonModule extends ScalaModule with ScalafixModule:
|
||||
def scalaVersion = "3.7.2"
|
||||
def scalaVersion = "3.7.3"
|
||||
def scalacOptions = Seq(
|
||||
"-Wunused:all",
|
||||
"-preview",
|
||||
|
|
@ -32,17 +31,15 @@ trait CommonModule extends ScalaModule with ScalafixModule:
|
|||
mvn"dev.zio::zio-prelude:${Versions.zioPrelude}"
|
||||
)
|
||||
|
||||
|
||||
object model extends CommonModule
|
||||
|
||||
object core extends CommonModule :
|
||||
object core extends CommonModule:
|
||||
def moduleDeps = Seq(model)
|
||||
|
||||
|
||||
object api extends CommonModule :
|
||||
object api extends CommonModule:
|
||||
def moduleDeps = Seq(core)
|
||||
def mvnDeps = Seq(
|
||||
def mvnDeps = Seq(
|
||||
mvn"dev.zio::zio:${Versions.zio}",
|
||||
mvn"dev.zio::zio-http:${Versions.zioHttp}"
|
||||
mvn"dev.zio::zio-http:${Versions.zioHttp}",
|
||||
mvn"dev.zio::zio-logging:2.5.1"
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue