fwcd / fwcd/kotlin-language-server

stdlib not found with gradle and kotlin 1.8.0

Open
#413 6 comments 3 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
2k
Forks
252
PR merge metrics
No merged PRs in 30d

Description

When using `kotlin("jvm") version "1.8.0"` in Gradle, as suggested in [https://kotlinlang.org/docs/get-started-with-jvm-gradle-project.html](https://kotlinlang.org/docs/get-started-with-jvm-gradle-project.html), the kotlin language server fails to find the standard library. This causes `Unresolved reference: println kotlin(UNRESOLVED_REFERENCE)` on a Hello-World program to be show as an error in the editor of choice. The same program builds just fine using Gradle from the command line, so it seems to be limited to the language server. However, it is not clear whether this is the fault of the language server or the kotlin distribution.

The issue is not present with previous version numbers.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.