Hi,
does anyone know a usable gradle/groovy code formatter? We have a lot of gradle scripts, I want to format automatically with uniform formatting rules.
Thanks, Samuel
Hi,
does anyone know a usable gradle/groovy code formatter? We have a lot of gradle scripts, I want to format automatically with uniform formatting rules.
Thanks, Samuel
I’m not away of any standalone formatters, but Eclipse (with Groovy plugin) and IntelliJ are quite good at auto-formatting Groovy/Gradle scripts. There are also Groovy/Gradle plugins for text editors such as TextMate.
Hi Peter,
thanks for your answer. I also tried this one:
But it leaves my source code untouched, I still have to figure out, why.
Greetings, Samuel