Skip to content

Commit 8cc94b9

Browse files
authored
Merge pull request #276 from svermeulen/sverm/FixForSourceSetsIssue
Fixed to not throw exceptions when processing gradle projects without a sourceSets property
2 parents fc1ce40 + 243d2e8 commit 8cc94b9

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)