On 12/27/2025 22:03, Gary Gregory wrote:
Google Gson is also available and works great. I sure hope we stay away
from Gradle like the plague.

Gary

On Sat, Dec 27, 2025, 15:55 Ryan Schmitt <[email protected]> wrote:

I don't see the issue with having a hard dependency in an optional module.
The reactive bindings have a hard dependency on the Reactive Streams API,
for example. It's a bigger commitment to have an *API* dependency than an
implementation dependency, since that implies that it would be a breaking
change to migrate to some other JSON library, but in practice Jackson is
currently the only sensible choice in the Java ecosystem.

I can't help but notice that httpcomponents-jackson builds with Gradle. I
assume you'll put in a Maven build, but I think keeping the Gradle build
would be a good idea. I've been working on improving httpcomponents build
times and I'm starting to get frustrated with Maven's limitations; I'd like
the option of using Gradle for local development. It's *much* faster, it
has strong IDE integration, it produces useful HTML test reports, etc.
There's also an especially powerful feature called composite builds that
makes it really easy to build separate projects together, and in my
experience this ends up being the killer feature that wins over a lot of
Gradle skeptics.

We'd continue using Maven for CI and release builds, of course, but I think
a Gradle build would be worth maintaining just for local development.


Hi Ryan

I like and use both Maven and Gradle. I tend to use Gradle for my private projects mostly because I get enough Maven exposure at my commercial projects. I use Gradle as a tool for our release management and it has been a lifesaver for me.

But we also have project members who do not want Gradle and I simply do not think Gradle is worth having a major strife between project members over it.

Having Gradle as a secondary build tool could work, but it would mean extra work for me as a release manager as version information in Gradle files would need to be updated and tested at release time. And I _hate_ the ASF release process as is without having a secondary build system to worry about.

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to