Skip to content

Commit

Permalink
chore: Update Bazel BSP and add it to deps
Browse files Browse the repository at this point in the history
It should get updated automatically now.
  • Loading branch information
tgodzik committed Aug 29, 2024
1 parent 18ff1ed commit 8e02ab8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ lazy val metals = project
"localSnapshotVersion" -> localSnapshotVersion,
"metalsVersion" -> version.value,
"mdocVersion" -> V.mdoc,
"bazelBspVersion" -> V.bazelBsp,
"bspVersion" -> V.bsp,
"sbtVersion" -> sbtVersion.value,
"bloopVersion" -> V.bloop,
Expand Down Expand Up @@ -731,6 +732,7 @@ lazy val metalsDependencies = project
"ch.epfl.scala" %% "gradle-bloop" % V.gradleBloop,
"com.sourcegraph" % "semanticdb-java" % V.javaSemanticdb,
"org.foundweekends.giter8" %% "giter8" % V.gitter8Version intransitive (),
"org.jetbrains.bsp" % "bazel-bsp" % V.bazelBsp intransitive (),
),
)
.disablePlugins(ScalafixPlugin)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import scala.meta.io.AbsolutePath

import coursierapi.Dependency
import coursierapi.Fetch
import scala.meta.internal.metals.BuildInfo

case class BazelBuildTool(
userConfig: () => UserConfiguration,
Expand Down Expand Up @@ -78,7 +79,7 @@ case class BazelBuildTool(
object BazelBuildTool {
val name: String = "bazel"
val bspName: String = "bazelbsp"
val version: String = "3.2.0-20240629-e3d8bdf-NIGHTLY"
val version: String = BuildInfo.bazelBspVersion

val mainClass = "org.jetbrains.bsp.bazel.install.Install"

Expand Down
1 change: 1 addition & 0 deletions project/V.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ object V {
val ammonite3Version = "3.3.3"

val ammonite = "3.0.0-M2-15-9bed9700"
val bazelBsp = "3.2.0-20240829-fd286ccb7-NIGHTLY"
val betterMonadicFor = "0.3.1"
val bloop = "2.0.0"
val bloopConfig = "2.0.3"
Expand Down

0 comments on commit 8e02ab8

Please sign in to comment.