microsoft / vscode-java-pack

VS Code extensions for Java developers.
Other
290 stars 131 forks source link

Imports where jar was included by Gradle project can't be resolved #374

Closed hakanai closed 4 years ago

hakanai commented 4 years ago

Suggestion

Most of my projects are using Gradle to build and I notice that when I'm in these projects, I get a screen full of red and VSCode claims that it can't resolve the imports.

I can't tell whether this is just a complete lack of support for Gradle (since I can't see mention of Gradle on the front page) or whether Gradle support is present but lacking.

It would be real nice if it worked. :)

Use Cases

I have never liked Maven. I dropped Ant for Buildr a long time ago. Work dev moved to Gradle some years ago and my personal projects followed shortly after.

Examples

https://github.com/trejkaz/pdn-java

testforstephen commented 4 years ago

Your build.gradle.kts file is using Kotlin, and VS Code doesn't support it yet.

hakanai commented 4 years ago

That explains this one. The one at work is still using Groovy but I can't put it in as an example. :/

akaroml commented 4 years ago

Thanks for reaching out @trejkaz

Closing this one as Kotlin support is out of scope.

hakanai commented 4 years ago

The one Groovy project I use doesn't work either, but of course that's work stuff so I can't provide an example. :/