java-language-server icon indicating copy to clipboard operation
java-language-server copied to clipboard

Shows errors with Gradle dependencies using Neovim's native LSP

Open Gaulm opened this issue 4 years ago • 4 comments

It doesn't seem to be able to find the Gradle dependencies although I listed them in .vscode/settings.json, the same project works on VSCode. Seems strange to me, is it using VSCode-only functionalities to parse the settings.json?

Gaulm avatar May 13 '21 18:05 Gaulm

Same problem! Maven works without problems.

abenz1267 avatar May 14 '21 16:05 abenz1267

@Gaarco it's a weird hack, but you can create a pom.xml file using the gradle maven-publish plugin. The setup is easy. then simply copy the generated file to your root. just tested..works. (i've not beeing able to make it work with a multi-module setup though...)

abenz1267 avatar May 19 '21 22:05 abenz1267

Can confirm, I tried just generating a pom.xml and using that, but that did not work. So I generated the list of external deps manually, and it still didn't work.

dead10ck avatar Jul 13 '21 18:07 dead10ck

Did anyone manage to solve this?

eruizc-dev avatar Oct 19 '21 02:10 eruizc-dev