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 fe9e6ff0b..dfaf3a182 100644 --- a/plugin/src/main/java/org/openrewrite/gradle/isolated/DefaultProjectParser.java +++ b/plugin/src/main/java/org/openrewrite/gradle/isolated/DefaultProjectParser.java @@ -833,7 +833,7 @@ public Stream parse(Project subproject, Set alreadyParsed, Exe } } - JavaSourceSet sourceSetProvenance = JavaSourceSet.build(sourceSet.getName(), dependencyPaths, javaTypeCache, false); + JavaSourceSet sourceSetProvenance = JavaSourceSet.build(sourceSet.getName(), dependencyPaths); sourceFileStream = sourceFileStream.concat(sourceSetSourceFiles.map(addProvenance(sourceSetProvenance)), sourceSetSize); // Some source sets get misconfigured to have the same directories as other source sets // Prevent files which appear in multiple source sets from being parsed more than once @@ -1137,7 +1137,7 @@ private SourceFileStream parseMultiplatformKotlinProject(Project subproject, Col } return cu; }).filter(Objects::nonNull); - JavaSourceSet sourceSetProvenance = JavaSourceSet.build(sourceSetName, dependencyPaths, javaTypeCache, false); + JavaSourceSet sourceSetProvenance = JavaSourceSet.build(sourceSetName, dependencyPaths); sourceFileStream = sourceFileStream.concat(cus.map(addProvenance(sourceSetProvenance)), kotlinPaths.size()); logger.info("Scanned {} Kotlin sources in {}/{}", kotlinPaths.size(), subproject.getPath(), kotlinDirectorySet.getName());