Anyone has tried this? <https://github.com/bernafe...
# gradle
j
d
I checked yesteday (don’t didn’t run it). This is mostly done using regex. So it can break quite easily, regarding your project.
l
I haven't and I tend to avoid Regex stuff as it's hard to read, but I tried to make a Kotlin script to do the same thing. I went quite far in the implementation but had to make some trade-offs, harcoding stuff for my projects, to not spend too much time. If you're interested though, I can show you, we can discuss it and maybe build upon my previous work.
j
@louiscad yes, please share!
l
@jmfayard Here's my draft: https://github.com/LouisCAD/Splitties/blob/2ec8f895e7fe4046c528d8659a9848ce020eee45/Gradle-Kotlin-migrator.gradle.kts Feel free to reach out in a new thread of by DM if you want to ask questions about it, I know it's a bit lengthy and explanations/hints may help.
👏 1
@jmfayard Forgot to link the simplified version I ended up using because I did not found a simple way to finish what I initially started: https://github.com/LouisCAD/Splitties/blob/2ec8f895e7fe4046c528d8659a9848ce020eee45/Simple-Gradle-Kotlin-migration-script.gradle.kts
👍 1