Motivation
Currently, the kotlin-lsp
assumes the Gradle project is located at the repository root. It would be helpful to add support for specifying a custom path to the Gradle project within the repository. This is useful for monorepos or projects where Gradle sources are not in the root directory.
The Gradle project in my repo resides in ./src
, so I have to open repo/src
instead of the repo root to make it work.
Proposed Solution
Add a configuration option that allows users to specify the relative path to the root of the Gradle project.