Dependency management support for Gradle Kotlin scripts (.kts)
What problem are you trying to solve?
Gradle supports Groovy and Kotlin as scripting languages for build files. We currently support editing Groovy-based build files. This should be extended to Kotiln.
Describe the solution you'd like
For each Gradle-groovy dependency management recipe there should be a Gradle-kotlin equivalent.
Additional context
Requires some enhancements to rewrite-kotlin and rewrite-gradle.
I have an example use case here: currently, AddDependency, it adds dependencies without () around the string portion of the dependency. in groovy, either way is correct, but in kts, the () must be there.
This has been opened for over a year, has there been any updates to this?
@shanman190 Has done exploratory work in https://github.com/shanman190/rewrite-gradle-experimental ; it's definitely on the radar, but also a moving target now with efforts like https://blog.gradle.org/declarative-gradle-first-eap Trust me when I say we'd very much like to see this covered, and if it were easy we'd have done so already. :)