From 277afca4ddf4268cc2cea0823f6c661142adee34 Mon Sep 17 00:00:00 2001 From: Knut Wannheden Date: Mon, 28 Aug 2023 13:12:03 +0200 Subject: [PATCH] Fix minor bug in `DefaultProjectParser#parseGradleFiles()` --- .../org/openrewrite/gradle/isolated/DefaultProjectParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 c10cb4899..5afff1242 100644 --- a/plugin/src/main/java/org/openrewrite/gradle/isolated/DefaultProjectParser.java +++ b/plugin/src/main/java/org/openrewrite/gradle/isolated/DefaultProjectParser.java @@ -874,7 +874,7 @@ private Stream parseGradleFiles( sourceFiles = Stream.concat( sourceFiles, PlainTextParser.builder().build() - .parse(singleton(settingsGradleFile.toPath()), baseDir, ctx) + .parse(singleton(settingsGradleKtsFile.toPath()), baseDir, ctx) .map(sourceFile -> { if(finalGs == null) { return sourceFile;