Skip to content

Complete the vanniktech publishing migration - #3

Merged
benfortuna merged 1 commit into
developfrom
standardise-build-publishing
Aug 20, 2026
Merged

benfortuna merged 1 commit into
developfrom
standardise-build-publishing

Conversation

@benfortuna

Copy link
Copy Markdown
Member

Part of the standardise-build-publishing change (tasks 1.5/3.6) — completes the migration this repo already had in progress.

What

  • Adds the mavenPublishing { pom { … } } block per subproject (core, cli, mcp), carrying over the exact values from the legacy pom.withXml.
  • Deletes the legacy publishing {}/signing {} blocks that coexisted with the vanniktech plugin (they would have produced duplicate publications), the duplicated ext.isReleaseVersion, and the leftover root signing plugin.
  • Adds SONATYPE_HOST=CENTRAL_PORTAL / SONATYPE_AUTOMATIC_RELEASE / RELEASE_SIGNING_ENABLED to gradle.properties.
  • Snapshot workflow moved to the ecosystem pattern: publishToMavenCentral with ORG_GRADLE_PROJECT_* credentials (org-level secrets already provisioned).

Verification

  • Per-module POM diff (legacy publication vs vanniktech): semantically identical for all three modules.
  • ./gradlew build green on Gradle 9.2.1 (the repo could not even configure at the pre-WIP HEAD — axion 1.13.6 vs Gradle 9).

Merging to develop triggers this repo's first Central Portal snapshot publish.

🤖 Generated with Claude Code

https://claude.ai/code/session_01RaN5r49Rzce1uZRwE9GKqq

Finish the in-progress migration to com.vanniktech.maven.publish 0.34.0:
add the mavenPublishing { pom { ... } } block per subproject (values
carried over from the legacy pom.withXml), delete the coexisting legacy
publishing {} / signing {} blocks and the unused ext.isReleaseVersion,
drop the leftover root signing plugin, and add the standard publishing
toggles to gradle.properties.

Per-module POMs (core, cli, mcp) verified semantically identical to the
legacy publication before the legacy blocks were removed.

The snapshot workflow now runs publishToMavenCentral with
ORG_GRADLE_PROJECT_* credentials (org-level secrets already in place).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RaN5r49Rzce1uZRwE9GKqq
@benfortuna
benfortuna merged commit 1dac790 into develop Aug 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant