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 c9082a127..910d9f56c 100644 --- a/plugin/src/main/java/org/openrewrite/gradle/isolated/DefaultProjectParser.java +++ b/plugin/src/main/java/org/openrewrite/gradle/isolated/DefaultProjectParser.java @@ -653,8 +653,8 @@ public Stream parse(Project subproject, Set alreadyParsed, Exe List styles = getStyles(); logger.lifecycle("Using active styles {}", styles.stream().map(NamedStyles::getName).collect(toList())); - if (subproject.getPlugins().hasPlugin("org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension") - || subproject.getExtensions() + if (subproject.getPlugins().hasPlugin("org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension") || + subproject.getExtensions() .findByName("kotlin") != null && subproject.getExtensions() .getByName("kotlin") .getClass()