openrewrite / rewrite-gradle-plugin

OpenRewrite's Gradle plugin.
Apache License 2.0
60 stars 37 forks source link

Plugin does not generate Kotlin sources on Kotlin project #172

Closed traceyyoshima closed 1 year ago

traceyyoshima commented 1 year ago

The DefaultProjectParser will parse sources with the KotlinParser if the org.jetbrains.kotlin.jvm exists in the project. arrow-kt is a Kotlin project primarily uses the kotlin.multiplatform plugin.

An analysis of sources with the .kt using data tables implies that most Kotlin projects do not use the jvm project and use a different plugin.

This issue will track supporting the Gradle plugin to add sources with the kotlin.multiplatform plugin.

https://github.com/arrow-kt/arrow/blob/main/build.gradle.kts

traceyyoshima commented 1 year ago

Duplicate of https://github.com/openrewrite/rewrite-gradle-plugin/issues/181