diff --git a/CHANGELOG.md b/CHANGELOG.md index c6903e242..a9bce111e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ All notable changes to the language server will be documented in this file. Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. +## [1.3.10] +- Update LSP4J to 0.21.2 +- Increase maximum length in class path cache (#532) +- Fix some bugs + ## [1.3.9] - Improve source file exclusion logic diff --git a/gradle.properties b/gradle.properties index cbb84cf18..e9e0de2ba 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ -version=1.3.10 +version=1.3.11 javaVersion=11 diff --git a/shared/src/main/kotlin/org/javacs/kt/classpath/Home.kt b/shared/src/main/kotlin/org/javacs/kt/classpath/Home.kt index 462e86111..fddde3ed9 100644 --- a/shared/src/main/kotlin/org/javacs/kt/classpath/Home.kt +++ b/shared/src/main/kotlin/org/javacs/kt/classpath/Home.kt @@ -17,10 +17,6 @@ private val possibleMavenRepositoryPaths = ) .filterNotNull() -internal val mavenRepository = - possibleMavenRepositoryPaths.firstOrNull { Files.exists(it) } - ?: throw KotlinLSException( - "No repositories found at \$MAVEN_REPOSITORY, \$MAVEN_HOME, \$M2_HOME or \$HOME/.m2" - ) +internal val mavenRepository = possibleMavenRepositoryPaths.firstOrNull { Files.exists(it) } internal val gradleHome = createPathOrNull("GRADLE_USER_HOME") ?: userHome.resolve(".gradle")