We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df6016d commit d842214Copy full SHA for d842214
adapter/src/main/kotlin/fwcd/ktda/classpath/FindClassPath.kt
@@ -61,9 +61,13 @@ private fun backupClassPath() =
61
listOfNotNull(findKotlinStdlib()).toSet()
62
63
private fun projectFiles(workspaceRoot: Path): Set<Path> {
64
- return Files.walk(workspaceRoot)
+ val exclusions = setOf("bin", "build") // TODO: Use SourceExclusions from kotlin-language-server's shared module
65
+ return workspaceRoot.toFile()
66
+ .walk()
67
+ .onEnter { it.name !in exclusions }
68
+ .map { it.toPath() }
69
.filter { isMavenBuildFile(it) || isGradleBuildFile(it) }
- .collect(Collectors.toSet())
70
+ .toSet()
71
}
72
73
private fun readLaunchConfigurationFile(file: Path): Set<Path> {
0 commit comments