Skip to content

Commit 0200d05

Browse files
committed
Fix another deprecation
1 parent 27ec8df commit 0200d05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/src/main/kotlin/org/javacs/kt/classpath/GradleClassPathResolver.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ private fun readDependenciesViaGradleCLI(projectDirectory: Path, gradleScripts:
8080
val dependencies = findGradleCLIDependencies(command, projectDirectory)
8181
?.also { LOG.debug("Classpath for task {}", it) }
8282
.orEmpty()
83-
.filter { it.toString().toLowerCase().endsWith(".jar") || Files.isDirectory(it) } // Some Gradle plugins seem to cause this to output POMs, therefore filter JARs
83+
.filter { it.toString().lowercase().endsWith(".jar") || Files.isDirectory(it) } // Some Gradle plugins seem to cause this to output POMs, therefore filter JARs
8484
.toSet()
8585

8686
tmpScripts.forEach(Files::delete)

0 commit comments

Comments
 (0)