File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
src/main/kotlin/org/javacs/ktda/classpath Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ dependencies {
2323 implementation(" org.eclipse.lsp4j:org.eclipse.lsp4j.debug:0.15.0" )
2424 implementation(" org.jetbrains.kotlin:kotlin-stdlib" )
2525 implementation(" org.jetbrains.kotlin:kotlin-reflect" )
26- implementation(" kotlin-language-server:shared" )
26+ implementation(" kotlin-language-server:shared" )
2727
2828 // modules temporarily needed because of shared module import above
2929 implementation(" org.jetbrains.exposed:exposed-core:0.37.3" )
Original file line number Diff line number Diff line change @@ -2,9 +2,12 @@ package org.javacs.ktda.classpath
22
33import org.javacs.kt.classpath.ClassPathResolver
44import org.javacs.kt.classpath.defaultClassPathResolver
5+ import org.javacs.kt.classpath.ResolverOptions
56import org.javacs.kt.classpath.plus
67import org.javacs.kt.classpath.joined
78import java.nio.file.Path
89
10+ val options = ResolverOptions (useCompileClasspath = false )
11+
912fun debugClassPathResolver (workspaceRoots : Collection <Path >): ClassPathResolver =
10- defaultClassPathResolver(workspaceRoots) + workspaceRoots.map { ProjectClassesResolver (it) }.joined
13+ defaultClassPathResolver(workspaceRoots, resolverOptions = options ) + workspaceRoots.map { ProjectClassesResolver (it) }.joined
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ pluginManagement {
1515}
1616
1717sourceControl {
18- gitRepository(java.net.URI .create(" https://github.com/fwcd /kotlin-language-server.git" )) {
18+ gitRepository(java.net.URI .create(" https://github.com/maksimr /kotlin-language-server.git" )) {
1919 producesModule(" kotlin-language-server:shared" )
2020 }
2121}
You can’t perform that action at this time.
0 commit comments