opencode icon indicating copy to clipboard operation
opencode copied to clipboard

fix(kotlin-ls): improve root detection for Gradle multi-project builds

Open JBou opened this issue 2 weeks ago • 0 comments

Ensure the Kotlin language server is started at the correct Gradle root for multi-project and composite builds.

The root resolution now prioritizes settings.gradle(.kts), followed by the Gradle wrapper, before falling back to module-level build files or Maven projects. This prevents submodules from being incorrectly detected as the workspace root.

Follow up for #6601

JBou avatar Jan 03 '26 01:01 JBou