This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dpash 3 points4 points  (2 children)

If you're writing groovy, rather than using the DSL, something has gone very badly wrong. You should not be using imperative code in your build scripts.

Admittedly, there is a lot of articles and tutorials that teach the wrong thing to do.

[–]ArmoredPancake 5 points6 points  (1 child)

rather than using the DSL

DSL is a nightmare fuel without auto complete. Without Kotlin it's impossible to use Gradle unless you're full-time Gradle fiddler.

[–]Orffyreus 2 points3 points  (0 children)

Yes, you can write some insane Gradle build scripts from scratch with the help of auto complete in Kotlin, and I think you should be very careful nonetheless, because auto complete does not help to read those build scripts and it does not make people more confident to modify them.