[PR #342] [MERGED] Add workaround for configuration error during maven publish #512

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

📋 Pull Request Information

Original PR: https://github.com/apple/pkl/pull/342
Author: @bioball
Created: 3/19/2024
Status: Merged
Merged: 3/19/2024
Merged by: @bioball

Base: mainHead: fix-publishing-task


📝 Commits (1)

  • ab6883e Add workaround for configuration error during maven publish

📊 Changes

1 file changed (+8 additions, -0 deletions)

View changed files

📝 buildSrc/src/main/kotlin/pklPublishLibrary.gradle.kts (+8 -0)

📄 Description

The maven publish plugin isn't setting up dependencies correctly, and we are getting errors like:

"Task ':pkl-config-java:publishFatJarPublicationToMavenLocal' uses
this output of task ':pkl-config-java:signLibraryPublication' without
declaring an explicit or implicit dependency."

This adds a workaround for this type of error.


🔄 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/342 **Author:** [@bioball](https://github.com/bioball) **Created:** 3/19/2024 **Status:** ✅ Merged **Merged:** 3/19/2024 **Merged by:** [@bioball](https://github.com/bioball) **Base:** `main` ← **Head:** `fix-publishing-task` --- ### 📝 Commits (1) - [`ab6883e`](https://github.com/apple/pkl/commit/ab6883e7f5f3c2147c0103f481c3030358405b65) Add workaround for configuration error during maven publish ### 📊 Changes **1 file changed** (+8 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `buildSrc/src/main/kotlin/pklPublishLibrary.gradle.kts` (+8 -0) </details> ### 📄 Description The maven publish plugin isn't setting up dependencies correctly, and we are getting errors like: "Task ':pkl-config-java:publishFatJarPublicationToMavenLocal' uses this output of task ':pkl-config-java:signLibraryPublication' without declaring an explicit or implicit dependency." This adds a workaround for this type of error. --- <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:25:03 +01:00
adam closed this issue 2025-12-30 01:25:03 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pkl#512