On Sun, Dec 28, 2025 at 8:23 AM Oleg Kalnichevski <[email protected]> wrote:
> 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 Yeah, I think we can write a Gradle build that obtains all that information from the pom.xml in order to avoid duplication. I used `gradle init` and Codex to throw together a quick prototype: https://github.com/rschmitt/httpcomponents-core/tree/gradle With a warm daemon and configuration cache, it runs the entire test suite on my machine in just 17 seconds! (`./gradlew test`) This is nearly 50% faster than `./mvnw verify`.
