Skip to content

Migrate publishing to Central Portal - #302

Merged
noahjalex merged 5 commits into
masterfrom
nalexander/migrate-central-portal
Aug 31, 2026
Merged

noahjalex merged 5 commits into
masterfrom
nalexander/migrate-central-portal

Conversation

@noahjalex

@noahjalex noahjalex commented Aug 24, 2026 •

Copy link
Copy Markdown
Collaborator

Why

The first post-merge snapshot after #299 failed because Vanniktech 0.17 still uploads to the retired legacy OSSRH endpoint, which now returns HTTP 405. The repository also still identifies snapshots as 4.8.3 even though the next draft release is 4.9.0.

What

  • Upgrade the wrapper to Gradle 8.13, Kotlin to 1.9.20, and Vanniktech publishing to 0.35.0 (the newest mutually supported AGP 8 stack)
  • Publish snapshots and signed releases through Sonatype Central Portal
  • Use the repository's Central Portal token and GPG secrets
  • Replace the legacy close/release workflow with the Portal-compatible release task
  • Set the next development version and snapshot installation instructions to 4.9.0-SNAPSHOT and the Central Portal snapshot repository

Risk Assessment

Medium — this changes release infrastructure and updates the Kotlin compiler/runtime dependency from 1.7.20 to 1.9.20, but does not change SDK source. The com.afterpay namespace has been recovered and the repository now has the Central Portal and GPG secrets referenced by both publishing workflows.

References

Update — 2026-08-28

After rechecking the dependency matrix, moved to Vanniktech 0.35.0, Gradle 8.13, and Kotlin 1.9.20: the newest mutually supported stack that keeps the repository on AGP 8.2.2. Josh is right that Vanniktech 0.37.0 and Gradle 9.7.1 are current; using that pair requires a separate AGP 9 and built-in Kotlin migration rather than isolated version bumps.

Generated with Amp

Legacy OSSRH now rejects snapshot uploads. Upgrade the compatible Gradle and Vanniktech versions, target Central Portal, and prepare the 4.9.0 release workflow.
Comment thread gradle/libs.versions.toml Resolved
@noahjalex
noahjalex marked this pull request as ready for review August 28, 2026 17:31
@noahjalex
noahjalex merged commit d789209 into master Aug 31, 2026
2 checks passed
@noahjalex
noahjalex deleted the nalexander/migrate-central-portal branch August 31, 2026 14:20
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.

3 participants