You are currently viewing For builds: Gradle vs Maven vs IntelliJ

For builds: Gradle vs Maven vs IntelliJ

Does anyone know, from experience, which build system is more pain in the butt. Gradle, Maven or IntelliJ. (assume non-android).

Here is my experience, for what it’s worth:

For years, I built projects with just IntelliJ (but that was pure Java) and that was wonderful (fast, seamless, glitch-free, transparent and easy). Then I switched to Maven, so that others on my team could have the same build experience. That was less seamless, less easy. But mostly glitch free. Overall, not bad.

As I got into Kotlin, I switched to Gradle, mostly for parity with Android. And it seemed like that was where Kotlin was headed.

Of the 3, Gradle is nightmare.

Tons of glitches. Nowhere close to easy. Not even remotely seamless. And slow. Not only is not transparent, I spend a big part of my life struggling with Gradle. Or Gradle-IntelliJ issues. IntelliJ and Gradle use different caches. So I do a full build with Gradle. Then 5 minutes later, run a unit test through IntelliJ and it takes forever.

When I bring this up to JetBrains, they wanna treat it like a bug report, which really pisses me off. The problems are too many. If I were to report every issue I had with IntelliJ, Gradle, Kotlin integration it would take a month.

So, in summary, I’m thinking of switching back to pure IntelliJ. My project is pure Kotlin at this point. For a very small team (2 0r 3 people).

Anyone have any suggestions? Is this a crazy idea? Is pure-intellij gonna be as awesome as it was 8 years age when I was doing pure Java? Am I the only one that struggles with this?

PS: If I was coding with vi, gradle might not be so bad. Most of the issues are related to the IntelliJ-Gradle combo.

Update: I am also using kts. I wonder if those of you who seem to not have my problems are using groovy for their builds. The kts build files are still relatively new.

submitted by /u/StokeMasterJack
[link] [comments]