On 12/28/2025 13:29, Ryan Schmitt wrote:
On Sun, Dec 28, 2025 at 5:23 AM Oleg Kalnichevski <[email protected]> wrote:
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.
Tell me more. By "version information," do you mean all the dependency
management info? Or the httpcomponents versions themselves, and the logic
to generate `version.properties`?
When creating a release tag in Git I need to make sure it matches the
version information in POM metadata. With Maven that basically means
updating project and modules pom.xml.
https://github.com/ok2c/httpcomponents-release-tools/blob/master/release-lib/src/main/kotlin/com/github/ok2c/hc/release/HCReleasePlugin.kt#L217
I would need to do something similar for Gradle which should not be hard
given it involves updating a single file. Still, it is an extra chore,
an extra moving part that can break or fail.
Oleg
The way I'm thinking about this is that the Gradle build should have no
involvement in the release process at all, it would just be for local
development and testing. For example, we could define additional test
targets that run the tests across multiple Java versions, with different
combinations of dependencies (to detect incorrectly modeled "optional"
dependencies), or with newer versions of `core` (to detect breaking
behavioral changes).
It might be worth having a thread about what improvements we'd like to see
in the build system. Whether we add Gradle support, upgrade to Maven 4, or
both, we're going to be getting new, useful capabilities.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]