openrewrite / rewrite

Automated mass refactoring of source code.
https://docs.openrewrite.org
Apache License 2.0
2.16k stars 323 forks source link

Add a recipe for converting Gradle scripts from Groovy DSL (`.gradle`) to Kotlin DSL (`.gradle.kts`) #3820

Open yogurtearl opened 9 months ago

yogurtearl commented 9 months ago

Add a recipe for converting Gradle scripts from Groovy DSL (.gradle) to Kotlin DSL (.gradle.kts)

related (possibly prerequisite):

timtebeek commented 9 months ago

This is likely to be a large effort, ideally in collaboration with the folks at Gradle.

shanman190 commented 9 months ago

Another aspect to throw out here is that Gradle is already looking on to the next evolution of the buildscript definition. So Kotlin DSL as it stands today might only be a stepping stone to their longer term goals.

https://blog.gradle.org/declarative-gradle