-
Notifications
You must be signed in to change notification settings - Fork 610
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
[Suggestion] Migrate gradle files from Groovy to Kotlin DSL #1578
Comments
Thanks for the suggestion. We would definitely accept this as a contribution if you are open to doing it! I agree with your plan to do it module by module. |
I would love to! :) I will try to prioritize this :) |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
I guess stalebot can't see all the PRs |
Just to give a status update here is that currently 22/27 groovy files are now in Kotlin DSL :) We have PRs up on the rest except the project gradle file. I will do that when everything else is in. When that is done my thoughts where to set the target and source java versions to 11 and to update the plugins to using version catalog correctly :) Then I think we can also bump the AGP version as of #1617 |
Thank you for all your effort! |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Hey!
First of all, thanks for a great library!
This is just a suggestion and I wanted to know what you guys thought about it. Feel free to close it, if it does not make sense.
I noticed that all the gradle files are in Groovy, what do you guys think about converting it to Kotlin DSL? Is there a reason for not migrating or any downside to migrating? :)
I would love to help out and contribute if this is okay :)
One suggested approach to this as we did when migrating in the horologist project is the following:
.kts
and check that it compiles and that everything works as expected. Then make a PR for each module, to make it easy to review.One tool that might help migrate is this script to convert Groovy to Kotlin DSL. I have not tried it myself though.
The text was updated successfully, but these errors were encountered: