Skip to content

Commit 243d2e8

Browse files
committed
Fixed to not throw exceptions when processing gradle projects without a sourceSets property
1 parent fdaf9f2 commit 243d2e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/resources/projectClassPathFinder.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ allprojects { project ->
5050
System.out.println "kotlin-lsp-gradle $it"
5151
}
5252
}
53-
} else {
53+
} else if (project.hasProperty('sourceSets')) {
5454
// Print the list of all dependencies jar files.
5555
sourceSets.forEach {
5656
it.compileClasspath.forEach {

0 commit comments

Comments
 (0)