Skip to content

Commit ec4c596

Browse files
authored
Use VirtusLab distribution of bazel-bsp (#58)
Updating this extension to transition from JetBrains BSP distribution to the new fork hosted on https://github.com/VirtusLab/bazel-bsp. No major functional changes, except for added compatibility for non-Bzlmod repos on Bazel 8+ (VirtusLab/bazel-bsp#21). Tested the following commands on Java/Python monorepos: - Run, Coverage, Debug for individual test cases - Syncing targets
1 parent e864e6f commit ec4c596

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
},
5858
"bazelbsp.serverVersion": {
5959
"type": "string",
60-
"default": "3.2.0-20250106-a42f8bf24-NIGHTLY",
60+
"default": "4.0.1",
6161
"description": "Version of the Bazel BSP server to install."
6262
},
6363
"bazelbsp.bazelBinaryPath": {

src/server/install.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {
1818

1919
export const INSTALL_BSP_COMMAND = 'bazelbsp.install'
2020

21-
const MAVEN_PACKAGE = 'org.jetbrains.bsp:bazel-bsp'
21+
const MAVEN_PACKAGE = 'org.virtuslab:bazel-bsp'
2222
const INSTALL_METHOD = 'org.jetbrains.bsp.bazel.install.Install'
2323
const COURSIER_URL_DEFAULT = 'https://git.io/coursier-cli'
2424
const COURSIER_URL_APPLE_SILICON =

src/test/suite/install.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ load("//aspects:utils/utils.bzl", "create_struct", "file_location", "to_file_loc
163163
const spawnCall = spawnStub.getCalls()[0]
164164
assert.ok(spawnCall.args[0].includes(coursierPath))
165165
assert.ok(spawnCall.args[0].includes(`--jvm ${config.javaVersion}`))
166-
assert.ok(spawnCall.args[0].includes('org.jetbrains.bsp:bazel-bsp:2.0.0'))
166+
assert.ok(spawnCall.args[0].includes('org.virtuslab:bazel-bsp:2.0.0'))
167167
assert.deepStrictEqual(spawnCall.args[1], {
168168
cwd: '/repo/root',
169169
shell: true,

0 commit comments

Comments
 (0)