Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency management support for Gradle Kotlin scripts (.kts) #3291

Open
sambsnyd opened this issue Jun 3, 2023 · 3 comments
Open

Dependency management support for Gradle Kotlin scripts (.kts) #3291

sambsnyd opened this issue Jun 3, 2023 · 3 comments
Assignees

Comments

@sambsnyd
Copy link
Member

sambsnyd commented Jun 3, 2023

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.

@wakingrufus
Copy link
Contributor

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.

@k3vonk
Copy link

k3vonk commented Aug 13, 2024

This has been opened for over a year, has there been any updates to this?

@timtebeek
Copy link
Contributor

@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. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

4 participants