[PR #1121] [MERGED] Switch publishing to sonatype central #899

Closed
opened 2025-12-30 01:27:38 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/apple/pkl/pull/1121
Author: @bioball
Created: 7/11/2025
Status: Merged
Merged: 7/11/2025
Merged by: @bioball

Base: mainHead: switch-sonatype-publishing


📝 Commits (1)

  • e4f5d11 Switch publishing to sonatype central

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 build.gradle.kts (+2 -2)

📄 Description

This configures the gradle-publish plugin to publish to sonatype central, because OSSRH is now EOL'd.

Note: we might want to switch to using jreleaser in the future. From Sonatype's docs:

The Portal OSSRH Staging API is a partial reimplementation of the OSSRH / Nexus Repository Manager 2 Staging APIs. The intent of this service is to enable publishers who are using existing plugins to have a smooth migration to the Central Publisher Portal. We hope that over time plugins will adopt the Portal API rather than rely on this service.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/apple/pkl/pull/1121 **Author:** [@bioball](https://github.com/bioball) **Created:** 7/11/2025 **Status:** ✅ Merged **Merged:** 7/11/2025 **Merged by:** [@bioball](https://github.com/bioball) **Base:** `main` ← **Head:** `switch-sonatype-publishing` --- ### 📝 Commits (1) - [`e4f5d11`](https://github.com/apple/pkl/commit/e4f5d119c4f0ffbb43fb37f6d6192ea619361b91) Switch publishing to sonatype central ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `build.gradle.kts` (+2 -2) </details> ### 📄 Description This configures the gradle-publish plugin to publish to sonatype central, because OSSRH is now EOL'd. Note: we might want to switch to using jreleaser in the future. From [Sonatype's docs](https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#getting-started-for-maven-api-like-plugins): > The Portal OSSRH Staging API is a partial reimplementation of the OSSRH / Nexus Repository Manager 2 Staging APIs. The intent of this service is to enable publishers who are using existing plugins to have a smooth migration to the Central Publisher Portal. We hope that over time plugins will adopt the [Portal API](https://central.sonatype.org/publish/publish-portal-api/) rather than rely on this service. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 01:27:38 +01:00
adam closed this issue 2025-12-30 01:27:38 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pkl#899