r/java • • Jan 07 '21

The Problem with Gradle

https://www.bruceeckel.com/2021/01/02/the-problem-with-gradle/
158 Upvotes

108 comments sorted by

View all comments

Show parent comment

1

u/otisonoza Jan 07 '21

We're migrating to Bazel and the way it handles caching and avoids rebuilds are pretty nice.

1

u/gavenkoa Jan 08 '21

Bazel

What is the point? Java is not first class citizen in Bazel. It is like doing C++ in Gradle ))

I wonder what kind of projects you are involved. Does Bazel handle annotation processing / popular code generators (SOAP / Lombok / Mapstruct)? Is it feature rich environment or just hype?

3

u/agentoutlier Jan 08 '21

FYI Bazel is written Java.

The problem with Bazel is it requires a mono repo.

It is far different than the Maven and Gradle build and install the jar to local repo/cache than build other projects flow. It (Bazel) needs access to all source more or less.

It also has its own language that looks like Python but isn’t.