Skip to content

Commit

Permalink
[build] make scala-java-time a regular dependency (#882)
Browse files Browse the repository at this point in the history
Moving from https://github.com/getkyo/kyo/pull/878/files#r1864504393 to
a separate PR. I'm not sure it was marked as `provided` in the first
place but it seems to be necessary so Kyo can be used in Native and JS
without having to add the `scala-java-time` dependency explicitly.
  • Loading branch information
fwbrasil authored Dec 1, 2024
1 parent f794013 commit e4aac39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -533,15 +533,15 @@ lazy val readme =
lazy val `native-settings` = Seq(
fork := false,
bspEnabled := false,
libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.6.0" % "provided"
libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.6.0"
)

lazy val `js-settings` = Seq(
Compile / doc / sources := Seq.empty,
fork := false,
bspEnabled := false,
jsEnv := new NodeJSEnv(NodeJSEnv.Config().withArgs(List("--max_old_space_size=5120"))),
libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.6.0" % "provided"
libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.6.0"
)

def scalacOptionToken(proposedScalacOption: ScalacOption) =
Expand Down

0 comments on commit e4aac39

Please sign in to comment.