Join Slack
Powered by
Is there any tool for converting a piece of gradle...
# gradle
j
Jason5lee
11/16/2021, 1:44 AM
Is there any tool for converting a piece of gradle script into gradle kts script? For a lot of times I can only find solution for gradle script online and have some troubles when converting it into kts script.
👀 1
a
Alexander.Likhachev
11/16/2021, 12:38 PM
There's no known to me tool at the moment, but you can start with
Migrating build logic from Groovy to Kotlin
from Gradle docs
m
mbonnin
11/16/2021, 6:44 PM
You can try
https://github.com/bernaferrari/GradleKotlinConverter
mbonnin
11/16/2021, 6:44 PM
It's not a 100% match but it will save you some time
n
no
11/18/2021, 11:08 AM
and then it'll cost you some time as well when you have to compile those buildscripts ;)
😅 1
m
mbonnin
11/18/2021, 2:54 PM
But less time looking up the Javadoc of the APIs you're using 😉
2
Views
Open in Slack
Previous
Next