Skip to content

Build Server doesnt work with multi root workspaces #1742

@feribg

Description

@feribg

Extension Name: vscode-gradle
Extension Version:
3.17.1
OS Version:
OSX 26.2
VSCode version:
Version: 1.107.1 (Universal)
Commit: 994fd12f8d3a5aa16f17d42c041e5809167e845a
Date: 2025-12-17T14:15:14.850Z (2 wks ago)
Electron: 39.2.3
ElectronBuildId: 12895514
Chromium: 142.0.7444.175
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin arm64 25.2.0

Describe the bug
Create a workspace with 2 folders: one valid gradle project, one random
You no longer see build server logs and it doesn't get picked up. vscode downgrades to buildkit. If you open just the gradle root not as a multi root workspace, it all works fine.

No logs in Build Server to share as nothing shows up.

I tried various things including adding this in the .code-workspace:

"settings": {
        /* Force Build Server (BSP) */
        "java.gradle.buildServer.enabled": "on",
        
        /* 'true' is more reliable than an array for discovery in multi-root */
        "gradle.nestedProjects": true,

        /* Fixes the 'Project is not a build server project' error */
        "java.import.gradle.enabled": true
    }

and various other config attempts, but nothing works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions