https://kotlinlang.org logo
#android-studio
Title
# android-studio
e

enighma

03/17/2023, 11:08 PM
Converting to kts script Is there an easy way to convert a .gradle file to a .gradle.kts file? I imagine it would be something built into AS if that was the case.
e

ephemient

03/17/2023, 11:16 PM
there's tools like https://github.com/bernaferrari/GradleKotlinConverter but there's no way to cover 100% of cases
e

enighma

03/17/2023, 11:18 PM
Great thanks! yeah, I imagine it's hard to write one that is 100%, but one that is just 70% ought to be a time saver.
c

Colton Idle

03/23/2023, 4:24 PM
i think that tool also has a web version so you dont have to run it on cmd line
12 Views