fix(release): add task to check Maven Central Portal plugin classpath - #5416
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adjusts the publish-on-central Gradle plugin version and introduces a new check-lifecycle verification task that exercises the Maven Central Portal upload codepath against a local HTTP stub, aiming to catch classpath/runtime regressions early during CI and local verification.
Changes:
- Downgrade
org.danilopianini.publish-on-centralplugin version from9.2.5to9.2.4. - Add
checkMavenCentralPortalPluginClasspathtask (wired intotasks.check) that uploads to a local fake Maven Central Portal endpoint and records the deployment id. - Add a small
HttpExchange.respondhelper for the local stub server.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
gradle/libs.versions.toml |
Pins publishOnCentral plugin version to 9.2.4. |
build.gradle.kts |
Adds a verification task that starts a local HTTP server and calls PublishPortalDeployment.upload(...) during check. |
bb8434a to
dcacb10
Compare
dcacb10 to
6592a35
Compare
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #5416 +/- ##
=========================================
Coverage 61.53% 61.53%
Complexity 14 14
=========================================
Files 2 2
Lines 78 78
Branches 4 4
=========================================
Hits 48 48
Misses 24 24
Partials 6 6 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
## [43.1.4](43.1.3...43.1.4) (2026-06-14) ### Dependency updates * **deps:** update dependency org.danilopianini:kotlin-symmetric-matrix to v2 ([#5415](#5415)) ([e6c9647](e6c9647)) ### Bug Fixes * **release:** add task to check Maven Central Portal plugin classpath ([#5416](#5416)) ([6b58370](6b58370)) ### General maintenance * **build:** update the javadoc.io cache ([0fb1e0e](0fb1e0e))
|
🎉 This PR is included in version 43.1.4 🎉 The release is available on:
Your semantic-release bot 📦🚀 |



No description provided.