Skip to content

Stop publishing to the Gradle Plugin Portal - #475

Merged
timtebeek merged 2 commits into
mainfrom
tim/drop-plugin-portal-publish
Aug 27, 2026
Merged

Stop publishing to the Gradle Plugin Portal#475
timtebeek merged 2 commits into
mainfrom
tim/drop-plugin-portal-publish

Conversation

@timtebeek

Copy link
Copy Markdown
Member

The plugin resolves rewrite-bom and the rest of org.openrewrite from the Code Genome Project, so a portal-published plugin isn't usable on its own anyway.

  • Drop the postReleasepublishPlugins wiring, and publishPlugins plus the gradle.publish.key/secret inputs from the release workflow.
  • Drop the now-unneeded -x publishPlugins from the snapshot CI job.
  • README: remove the plugin portal badge (it would freeze at the last portal release) and reword the CGP section to cover releases, not just snapshots.

com.gradle.plugin-publish stays applied — it's what supplies the sources and javadoc jars in the CGP publication.

Note that CGP still only receives the pluginMaven publication, not rewritePluginMarkerMaven, so consumers do need the pluginManagement.resolutionStrategy.eachPlugin / useModule block the README documents. If we'd rather have plain plugins { id("org.openrewrite.rewrite") version "..." } work off CGP, switching the workflows to publishAllPublicationsToCgpRepository would do it — happy to add that here or in a follow-up.

The plugin resolves rewrite-bom and the rest of org.openrewrite from the Code
Genome Project, so a portal-published plugin is not usable on its own. Drop the
publishPlugins wiring and its credentials, and point the README at CGP for
releases as well as snapshots.
@timtebeek
timtebeek merged commit b52b59e into main Aug 27, 2026
2 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite Aug 27, 2026
@timtebeek
timtebeek deleted the tim/drop-plugin-portal-publish branch August 27, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant