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 fd033d5 commit f141586Copy full SHA for f141586
src/main/kotlin/org/javacs/kt/classpath/gradleDependencyResolver.kt
@@ -77,8 +77,6 @@ private fun readDependenciesViaTask(directory: Path): Set<Path>? {
77
val artifact = Pattern.compile("^.+?\\.jar$")
78
val dependencies = mutableSetOf<Path>()
79
80
- classpathCommand.waitFor()
81
-
82
stdout.bufferedReader().use { reader ->
83
for (dependency in reader.lines()) {
84
val line = dependency.toString().trim()
@@ -89,6 +87,8 @@ private fun readDependenciesViaTask(directory: Path): Set<Path>? {
89
87
}
90
88
91
+ classpathCommand.waitFor()
+
92
if (dependencies.size > 0) {
93
return dependencies
94
} else {
0 commit comments