Skip to content

Remove unused httpclient5 dependency from buildSrc - #412

Merged
mlopatkin merged 1 commit into
masterfrom
ml/remove-unused-httpclient
Aug 18, 2026
Merged

Remove unused httpclient5 dependency from buildSrc#412
mlopatkin merged 1 commit into
masterfrom
ml/remove-unused-httpclient

Conversation

@mlopatkin

Copy link
Copy Markdown
Member

The dependency was added in 87d4518 for BintrayTask, which talked to the Bintray REST API. Bintray publishing was removed in 2db714e, but the dependency declaration was left behind. Nothing in buildSrc has referenced org.apache.hc since then, so this only added weight to the build classpath and produced recurring dependabot bumps.

Dependency verification is pruned accordingly: the trusted keys for org.apache.httpcomponents, org.slf4j:slf4j-api and commons-codec covered httpclient5 and its transitives only, and are dropped along with their keyring entries.

The dependency was added in 87d4518 for BintrayTask, which talked to the
Bintray REST API. Bintray publishing was removed in 2db714e, but the
dependency declaration was left behind. Nothing in buildSrc has referenced
org.apache.hc since then, so this only added weight to the build classpath
and produced recurring dependabot bumps.

Dependency verification is pruned accordingly: the trusted keys for
org.apache.httpcomponents, org.slf4j:slf4j-api and commons-codec covered
httpclient5 and its transitives only, and are dropped along with their
keyring entries.

Note that VersioningPlugin imports org.slf4j.Logger, which used to be
resolved transitively via httpclient5. It now comes from gradleApi(), so
buildSrc still compiles from a clean state.
@mlopatkin mlopatkin self-assigned this Aug 17, 2026
@mlopatkin
mlopatkin requested a review from a team as a code owner August 17, 2026 12:55
@mlopatkin
mlopatkin merged commit 5b849d1 into master Aug 18, 2026
19 of 20 checks passed
@mlopatkin
mlopatkin deleted the ml/remove-unused-httpclient branch August 18, 2026 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant