Maven or Gradle?

twitter logo github logo ・1 min read

Currently, I am migrating from Java to Kotlin. One of the changes I am not making is to move from Maven to Gradle. This is something we should probably discuss company wide to do or not.

I am curious about your thoughts, which do you prefer: Maven or Gradle? What made you to move? Or did you switch back?

twitter logo DISCUSS (4)
markdown guide
 

I vastly prefer Gradle over Maven, for a lot of reasons.

The first one is the clearness of the Groovy language compared to the hellish XML configuration.

The second one is the clearness and the breeze it is to define run task dependencies and such.

Most gradle plugins' docs are also vastly superior to those from Maven (looking at you, Codehaus mojo hell).

 

I would prefer Gradle over Maven anytime,the clear syntax is one of the big problems for me. Concerning the utility I still haven't dug too deep insight complex projects to really compare that aspect of things.

 

If this project is an Android, then exactly Gradle.

 

On a personal project, anything but maven. On a company project, nothing but maven.

Classic DEV Post from Jan 10

The IDE - The beginner's trap !

Hello everyone, today we talk about IDE's ! But first.. What's an ID...

Martin Beentjes profile image
Martin is an enthusiastic software engineer building and operating microservices in the JVM stack using Kotlin. Currently working for Albert Heijn in the role of DevOps engineer.

Do you prefer sans serif over serif?

You can change your font preferences in the "misc" section of your settings. ❤️