diff --git a/plugin/src/main/java/org/openrewrite/gradle/isolated/DefaultProjectParser.java b/plugin/src/main/java/org/openrewrite/gradle/isolated/DefaultProjectParser.java index 4e100da0b..fe9e6ff0b 100644 --- a/plugin/src/main/java/org/openrewrite/gradle/isolated/DefaultProjectParser.java +++ b/plugin/src/main/java/org/openrewrite/gradle/isolated/DefaultProjectParser.java @@ -826,7 +826,8 @@ public Stream parse(Project subproject, Set alreadyParsed, Exe sourceSetSourceFiles = Stream.concat( sourceSetSourceFiles, omniParser.parse(accepted, baseDir, new InMemoryExecutionContext()) - ).map(it -> it.withMarkers(it.getMarkers().add(javaVersion))); + .map(it -> it.withMarkers(it.getMarkers().add(javaVersion))) + ); alreadyParsed.addAll(accepted); sourceSetSize += accepted.size(); }