Skip to content

Commit af099e6

Browse files
refactor: OpenRewrite best practices
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.recipes.OpenRewriteBestPractices?organizationId=T3BlblJld3JpdGU%3D Co-authored-by: Moderne <team@moderne.io>
1 parent f85284f commit af099e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin/src/main/java/org/openrewrite/gradle/isolated/DefaultProjectParser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -653,8 +653,8 @@ public Stream<SourceFile> parse(Project subproject, Set<Path> alreadyParsed, Exe
653653
List<NamedStyles> styles = getStyles();
654654
logger.lifecycle("Using active styles {}", styles.stream().map(NamedStyles::getName).collect(toList()));
655655

656-
if (subproject.getPlugins().hasPlugin("org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension")
657-
|| subproject.getExtensions()
656+
if (subproject.getPlugins().hasPlugin("org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension") ||
657+
subproject.getExtensions()
658658
.findByName("kotlin") != null && subproject.getExtensions()
659659
.getByName("kotlin")
660660
.getClass()

0 commit comments

Comments
 (0)