Skip to content

Commit 1bc2149

Browse files
committed
fix multibuild and use version supported by native and js
1 parent 65fcaf4 commit 1bc2149

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

build.sbt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ lazy val commonSettings = Seq(
2828
homepage := Some(url("https://github.com/gnieh/diffson"))
2929
)
3030

31-
lazy val diffson = tlCrossRootProject.aggregate(core, sprayJson, circe, playJson, testkit)
31+
lazy val diffson = tlCrossRootProject.aggregate(core, sprayJson, circe, playJson, ujson, testkit)
3232

3333
lazy val core = crossProject(JSPlatform, JVMPlatform, NativePlatform)
3434
.crossType(CrossType.Pure)
@@ -92,15 +92,16 @@ lazy val circe = crossProject(JSPlatform, JVMPlatform, NativePlatform)
9292
)
9393
.dependsOn(core, testkit % Test)
9494

95+
val ujsonVersion = "3.1.3"
9596
lazy val ujson = crossProject(JSPlatform, JVMPlatform, NativePlatform)
9697
.crossType(CrossType.Full)
9798
.in(file("ujson"))
9899
.settings(commonSettings: _*)
99100
.settings(
100101
name := "diffson-ujson",
101102
libraryDependencies ++= Seq(
102-
"com.lihaoyi" %% "ujson" % "3.1.4",
103-
"com.lihaoyi" %% "upickle" % "3.1.4"
103+
"com.lihaoyi" %%% "ujson" % ujsonVersion,
104+
"com.lihaoyi" %%% "upickle" % ujsonVersion,
104105
)
105106
)
106107
.dependsOn(core, testkit % Test)

0 commit comments

Comments
 (0)