Skip to content

Commit

Permalink
refactor: OpenRewrite best practices
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek and TeamModerne committed Oct 8, 2024
1 parent f85284f commit af099e6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -653,8 +653,8 @@ public Stream<SourceFile> parse(Project subproject, Set<Path> alreadyParsed, Exe
List<NamedStyles> 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()
Expand Down

0 comments on commit af099e6

Please sign in to comment.