Skip to content

Commit

Permalink
invert dependencies between replication and DTN projects
Browse files Browse the repository at this point in the history
  • Loading branch information
rmgk committed Jul 31, 2024
1 parent 2742aba commit ceaea4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ lazy val deltalens = project.in(file("Modules/Deltalens"))

lazy val dtn = crossProject(JSPlatform, JVMPlatform, NativePlatform).crossType(CrossType.Full)
.in(file("Modules/DTN"))
.dependsOn(reactives, rdts)
.dependsOn(reactives, rdts, replication)
.settings(
scala3defaults,
Settings.explicitNulls(Compile / compile),
Expand Down Expand Up @@ -277,8 +277,6 @@ lazy val reactives = crossProject(JVMPlatform, JSPlatform, NativePlatform).in(fi

lazy val replication = crossProject(JVMPlatform, JSPlatform, NativePlatform).in(file("Modules/Replication"))
.dependsOn(reactives, rdts, channels, rdts % "compile->compile;test->test")
.jsConfigure(_.dependsOn(dtn.js))
.jvmConfigure(_.dependsOn(dtn.jvm))
.settings(
scala3defaults,
Settings.javaOutputVersion(11), // java webserver
Expand Down Expand Up @@ -318,7 +316,7 @@ lazy val replicationExamples = crossProject(JVMPlatform, JSPlatform).crossType(C

lazy val todolist = project.in(file("Modules/Examples/TodoMVC"))
.enablePlugins(ScalaJSPlugin)
.dependsOn(replication.js)
.dependsOn(replication.js, dtn.js)
.settings(
scala3defaults,
Settings.explicitNulls(Compile / compile),
Expand Down

0 comments on commit ceaea4a

Please sign in to comment.