Skip to content

Commit

Permalink
Update scala native (#346)
Browse files Browse the repository at this point in the history
* update scala native

* update zio-json

* update zio-json

* update scala-java-time

* lint

---------

Co-authored-by: pablf <pablofemenia@proton.me>
  • Loading branch information
pablf and pablf authored Nov 13, 2024
1 parent 8df46ce commit 16a436f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ inThisBuild(
addCommandAlias("fmt", "all scalafmtSbt scalafmt test:scalafmt")
addCommandAlias("check", "all scalafmtSbtCheck scalafmtCheck test:scalafmtCheck")

val zioVersion = "2.1.12"
val zioVersion = "2.1.12"
val zioJsonVersion = "0.7.3"
val scalaJavaTimeVersion = "2.6.0"

lazy val root = project
.in(file("."))
Expand Down Expand Up @@ -59,7 +61,7 @@ lazy val zioCli = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.settings(
libraryDependencies ++= Seq(
"dev.zio" %%% "zio" % zioVersion,
"dev.zio" %%% "zio-json" % "0.7.1",
"dev.zio" %%% "zio-json" % zioJsonVersion,
"dev.zio" %%% "zio-streams" % zioVersion,
"dev.zio" %%% "zio-test" % zioVersion % Test,
"dev.zio" %%% "zio-test-sbt" % zioVersion % Test
Expand All @@ -70,10 +72,10 @@ lazy val zioCli = crossProject(JSPlatform, JVMPlatform, NativePlatform)
)
.nativeSettings(Test / fork := false)
.nativeSettings(
libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.5.0" % Test
libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % scalaJavaTimeVersion % Test
)
.jsSettings(
libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.5.0" % Test
libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % scalaJavaTimeVersion % Test
)
.jvmSettings(dottySettings)
.jsSettings(scalaJSUseMainModuleInitializer := true)
Expand Down Expand Up @@ -138,10 +140,10 @@ lazy val testkit = crossProject(JSPlatform, JVMPlatform, NativePlatform)
)
.nativeSettings(Test / fork := false)
.nativeSettings(
libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.5.0" % Test
libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % scalaJavaTimeVersion % Test
)
.jsSettings(
libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.5.0" % Test
libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % scalaJavaTimeVersion % Test
)
.jvmSettings(dottySettings)
.jsSettings(scalaJSUseMainModuleInitializer := true)
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ addSbtPlugin("com.thoughtworks.sbt-api-mappings" % "sbt-api-mappings"
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.3.2")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.17.0")
addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.3.2")
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.16")
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.5")
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.3.2")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.9")
Expand Down

0 comments on commit 16a436f

Please sign in to comment.