Skip to content

Commit

Permalink
Disable BSP for JS/Native
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Aug 24, 2023
1 parent 8804d1f commit 5c2aadf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ lazy val core = crossProject(JVMPlatform, JSPlatform, NativePlatform)
libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.5.0",
scalaJSLinkerConfig ~= (_.withModuleKind(ModuleKind.CommonJSModule))
)
.platformsSettings(JSPlatform, NativePlatform)(bspEnabled := false)

lazy val circe = crossProject(JVMPlatform, JSPlatform, NativePlatform)
.crossType(CrossType.Pure)
Expand All @@ -132,6 +133,7 @@ lazy val circe = crossProject(JVMPlatform, JSPlatform, NativePlatform)
.settings(
name := "gsp-graphql-circe",
)
.platformsSettings(JSPlatform, NativePlatform)(bspEnabled := false)

lazy val buildInfo = crossProject(JVMPlatform, JSPlatform, NativePlatform)
.crossType(CrossType.Pure)
Expand All @@ -141,6 +143,7 @@ lazy val buildInfo = crossProject(JVMPlatform, JSPlatform, NativePlatform)
.settings(
buildInfoKeys += "baseDirectory" -> (LocalRootProject / baseDirectory).value.toString
)
.platformsSettings(JSPlatform, NativePlatform)(bspEnabled := false)

lazy val sql = crossProject(JVMPlatform, JSPlatform, NativePlatform)
.crossType(CrossType.Full)
Expand All @@ -166,6 +169,7 @@ lazy val sql = crossProject(JVMPlatform, JSPlatform, NativePlatform)
"com.github.jnr" % "jnr-unixsocket" % jnrUnixsocketVersion % "test"
)
)
.platformsSettings(JSPlatform, NativePlatform)(bspEnabled := false)

lazy val doobie = project
.in(file("modules/doobie-pg"))
Expand Down Expand Up @@ -206,6 +210,7 @@ lazy val skunk = crossProject(JVMPlatform, JSPlatform, NativePlatform)
.jsSettings(
scalaJSLinkerConfig ~= (_.withModuleKind(ModuleKind.CommonJSModule))
)
.platformsSettings(JSPlatform, NativePlatform)(bspEnabled := false)

lazy val generic = crossProject(JVMPlatform, JSPlatform, NativePlatform)
.crossType(CrossType.Pure)
Expand All @@ -222,6 +227,7 @@ lazy val generic = crossProject(JVMPlatform, JSPlatform, NativePlatform)
case Scala2 => "com.chuusai" %%% "shapeless" % shapeless2Version
})
)
.platformsSettings(JSPlatform, NativePlatform)(bspEnabled := false)

lazy val demo = project
.in(file("demo"))
Expand Down

0 comments on commit 5c2aadf

Please sign in to comment.